From fc8731ad584a01576bbb5c1bd32eea7c8458ae36 Mon Sep 17 00:00:00 2001 From: buxiaoqing Date: Thu, 13 Apr 2023 17:35:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E5=87=BD?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- panel/contextmenu.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/panel/contextmenu.cpp b/panel/contextmenu.cpp index c3cb5af..5fb0177 100644 --- a/panel/contextmenu.cpp +++ b/panel/contextmenu.cpp @@ -95,17 +95,14 @@ void ContextMenu::adjustPanel() connect(pmenuaction_s,&QAction::triggered,[this] { m_gsettings->set(PANEL_SIZE_KEY,PANEL_SIZE_SMALL); m_gsettings->set(ICON_SIZE_KEY,ICON_SIZE_SMALL); - setIconSize(ICON_SIZE_SMALL,true); }); connect(pmenuaction_m,&QAction::triggered,[this] { m_gsettings->set(PANEL_SIZE_KEY,PANEL_SIZE_MEDIUM); m_gsettings->set(ICON_SIZE_KEY,ICON_SIZE_MEDIUM); - setIconSize(ICON_SIZE_MEDIUM,true); }); connect(pmenuaction_l,&QAction::triggered,[this] { m_gsettings->set(PANEL_SIZE_KEY,PANEL_SIZE_LARGE); m_gsettings->set(ICON_SIZE_KEY,ICON_SIZE_LARGE); - setIconSize(ICON_SIZE_LARGE,true); }); pmenu_panelsize->setDisabled(m_lockPanel);