From 48c749e4c11708ca480019aac334470acb427a64 Mon Sep 17 00:00:00 2001 From: lixueman Date: Mon, 25 Jul 2022 09:22:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B9=B3=E6=9D=BF=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E4=B8=8Bwin=E9=94=AE=E8=83=BD=E5=A4=9F=E6=89=93?= =?UTF-8?q?=E5=BC=80=E5=BC=80=E5=A7=8B=E8=8F=9C=E5=8D=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 6 ++++++ src/UserInterface/mainwindow.cpp | 5 +++++ src/UserInterface/mainwindow.h | 1 + 3 files changed, 12 insertions(+) diff --git a/debian/changelog b/debian/changelog index d656adb..e1a9ef3 100755 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ukui-menu (3.1.1-ok4~0725) yangtze; urgency=medium + + * 解决平板模式下win键可以打开开始菜单问题 + + -- lixueman Mon, 25 Jul 2022 09:15:22 +0800 + ukui-menu (3.1.1-ok4~0721.1) yangtze; urgency=medium * 解决了强调色修改后,搜索框未及时刷新问题 diff --git a/src/UserInterface/mainwindow.cpp b/src/UserInterface/mainwindow.cpp index 355a8bd..147ddae 100755 --- a/src/UserInterface/mainwindow.cpp +++ b/src/UserInterface/mainwindow.cpp @@ -117,6 +117,11 @@ void MainWindow::setTabletModeFlag() } } +void MainWindow::tabletModeChangeSlot(bool flag) +{ + m_isTabletMode = flag; +} + void MainWindow::registDbusServer() { m_dbus = new DBus; diff --git a/src/UserInterface/mainwindow.h b/src/UserInterface/mainwindow.h index 30aa46b..1b5363d 100755 --- a/src/UserInterface/mainwindow.h +++ b/src/UserInterface/mainwindow.h @@ -143,6 +143,7 @@ public Q_SLOTS: void maxAnimationFinished(); void iconAnimationFinished(); void changeStyle(); + void tabletModeChangeSlot(bool flag); private Q_SLOTS: void on_selectMenuButton_triggered(QAction *arg1);