diff options
author | Ken Moore <moorekou@gmail.com> | 2020-01-31 13:26:39 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2020-01-31 13:26:39 -0500 |
commit | 8934798739a943f9336c0ee6a23d71d907c06e76 (patch) | |
tree | a4431422bfa685e6fb7fa1c3a14fa1a4051ed387 /src-qt5/core/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp | |
parent | Add VoidLinux OS interface. (diff) | |
download | lumina-8934798739a943f9336c0ee6a23d71d907c06e76.tar.gz lumina-8934798739a943f9336c0ee6a23d71d907c06e76.tar.bz2 lumina-8934798739a943f9336c0ee6a23d71d907c06e76.zip |
Fix the desktop/plugin screen detection (raw geom, not available).
Also fix a couple icons (add new options to look for)
Diffstat (limited to 'src-qt5/core/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp b/src-qt5/core/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp index b9d70e97..f8059d08 100644 --- a/src-qt5/core/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp +++ b/src-qt5/core/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp @@ -24,7 +24,6 @@ LSysDashboard::LSysDashboard(QWidget *parent, QString id, bool horizontal) : LPP mact = new QWidgetAction(this); mact->setDefaultWidget(sysmenu); menu->addAction(mact); - button->setMenu(menu); QTimer::singleShot(0,this, SLOT(OrientationChange())); //Update icons/sizes } @@ -77,7 +76,7 @@ void LSysDashboard::updateIcon(bool force){ } void LSysDashboard::resetIcon(){ - button->setIcon( LXDG::findIcon("arrow-down-drop-circle","")); + button->setIcon( LXDG::findIcon("onboard-panel","arrow-down-drop-circle")); } void LSysDashboard::openMenu(){ @@ -88,4 +87,3 @@ void LSysDashboard::openMenu(){ void LSysDashboard::closeMenu(){ menu->hide(); } - |