删除多余函数

This commit is contained in:
buxiaoqing 2023-04-13 17:35:01 +08:00
parent 7604380edb
commit fc8731ad58
1 changed files with 0 additions and 3 deletions

View File

@ -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);