From 8934798739a943f9336c0ee6a23d71d907c06e76 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 31 Jan 2020 13:26:39 -0500 Subject: Fix the desktop/plugin screen detection (raw geom, not available). Also fix a couple icons (add new options to look for) --- .../lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src-qt5/core/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.cpp') 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(); } - -- cgit