diff options
author | q5sys <jt@xsystems.com> | 2017-11-03 12:34:18 -0400 |
---|---|---|
committer | q5sys <jt@xsystems.com> | 2017-11-03 12:34:18 -0400 |
commit | 71a14c01a314f96f4e1479873d3763c58c84302c (patch) | |
tree | e7c0c13dd908fafa26d25e706e6502f4f668ab52 /src-qt5/core/lumina-desktop/panel-plugins/systemstart | |
parent | fix start menu width (diff) | |
download | lumina-71a14c01a314f96f4e1479873d3763c58c84302c.tar.gz lumina-71a14c01a314f96f4e1479873d3763c58c84302c.tar.bz2 lumina-71a14c01a314f96f4e1479873d3763c58c84302c.zip |
fix height for start menu
Diffstat (limited to 'src-qt5/core/lumina-desktop/panel-plugins/systemstart')
-rw-r--r-- | src-qt5/core/lumina-desktop/panel-plugins/systemstart/LStartButton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/systemstart/LStartButton.cpp b/src-qt5/core/lumina-desktop/panel-plugins/systemstart/LStartButton.cpp index a4f6adfb..30e82c47 100644 --- a/src-qt5/core/lumina-desktop/panel-plugins/systemstart/LStartButton.cpp +++ b/src-qt5/core/lumina-desktop/panel-plugins/systemstart/LStartButton.cpp @@ -27,7 +27,7 @@ LStartButtonPlugin::LStartButtonPlugin(QWidget *parent, QString id, bool horizon connect(startmenu, SIGNAL(UpdateQuickLaunch(QStringList)), this, SLOT(updateQuickLaunch(QStringList))); menu->setContents(startmenu); QRect screenSize = QApplication::desktop()->availableGeometry(this); - QSize saved = LSession::handle()->DesktopPluginSettings()->value("panelPlugs/"+this->type()+"/MenuSize", QSize(screenSize.width() * 0.2, screenSize.height() * 0.2)).toSize(); + QSize saved = LSession::handle()->DesktopPluginSettings()->value("panelPlugs/"+this->type()+"/MenuSize", QSize(screenSize.width() * 0.2, screenSize.height())).toSize(); if(!saved.isNull()){ startmenu->setFixedSize(saved); } //re-load the previously saved value button->setMenu(menu); |