From 080dfa8891d2dfc38430154a4b20024ab5c23f6e Mon Sep 17 00:00:00 2001
From: songmingliang <songmingliang@uniontech.com>
Date: Sat, 6 May 2023 16:33:03 +0800
Subject: [PATCH] hide status box

---
 plugins/dcc-dock-plugin/module_widget.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/dcc-dock-plugin/module_widget.cpp b/plugins/dcc-dock-plugin/module_widget.cpp
index 03f3bbf..f111ff8 100644
--- a/plugins/dcc-dock-plugin/module_widget.cpp
+++ b/plugins/dcc-dock-plugin/module_widget.cpp
@@ -151,7 +151,8 @@ void ModuleWidget::initUI()
     }
 
     // 状态
-    if (Utils::SettingValue("com.deepin.dde.dock.module.menu", QByteArray(), "statusVisible", true).toBool()) {
+    //if (Utils::SettingValue("com.deepin.dde.dock.module.menu", QByteArray(), "statusVisible", true).toBool()) {
+    if (0) {
         static QMap<QString, int> g_stateMap = {{tr("Keep shown"), KeepShowing}
                                                 , {tr("Keep hidden"), KeepHidden}
                                                 , {tr("Smart hide"), SmartHide}};
-- 
2.27.0

