From 59e9fb9918869197cbe52dd8475e263a0f8032ce Mon Sep 17 00:00:00 2001
From: root <root@localhost.localdomain>
Date: Tue, 11 Apr 2023 13:26:54 +0800
Subject: [PATCH] Mask intelligent hiding

---
 frame/util/menuworker.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/frame/util/menuworker.cpp b/frame/util/menuworker.cpp
index 61094b6..86a46fb 100644
--- a/frame/util/menuworker.cpp
+++ b/frame/util/menuworker.cpp
@@ -105,23 +105,23 @@ QMenu *MenuWorker::createMenu(QMenu *settingsMenu)
 
         QAction *keepShownAct = new QAction(tr("Keep Shown"), this);
         QAction *keepHiddenAct = new QAction(tr("Keep Hidden"), this);
-        QAction *smartHideAct = new QAction(tr("Smart Hide"), this);
+        //QAction *smartHideAct = new QAction(tr("Smart Hide"), this);
 
         keepShownAct->setCheckable(true);
         keepHiddenAct->setCheckable(true);
-        smartHideAct->setCheckable(true);
+        //smartHideAct->setCheckable(true);
 
         keepShownAct->setChecked(hideMode == KeepShowing);
         keepHiddenAct->setChecked(hideMode == KeepHidden);
-        smartHideAct->setChecked(hideMode == SmartHide);
+        //smartHideAct->setChecked(hideMode == SmartHide);
 
         connect(keepShownAct, &QAction::triggered, this, [ = ]{ m_dockInter->setHideMode(KeepShowing); });
         connect(keepHiddenAct, &QAction::triggered, this, [ = ]{ m_dockInter->setHideMode(KeepHidden); });
-        connect(smartHideAct, &QAction::triggered, this, [ = ]{ m_dockInter->setHideMode(SmartHide); });
+        //connect(smartHideAct, &QAction::triggered, this, [ = ]{ m_dockInter->setHideMode(SmartHide); });
 
         statusSubMenu->addAction(keepShownAct);
         statusSubMenu->addAction(keepHiddenAct);
-        statusSubMenu->addAction(smartHideAct);
+        //statusSubMenu->addAction(smartHideAct);
 
         QAction *act = new QAction(tr("Status"), this);
         act->setMenu(statusSubMenu);
-- 
2.31.1

