aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/systemdashboard
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-07-24 12:38:28 -0400
committerKen Moore <moorekou@gmail.com>2015-07-24 12:38:28 -0400
commit42b0bd6f25785c3823fdac7651e939bb921db627 (patch)
treeb54efa8fa60b6abd3c3214f8395b8878825a4ce2 /lumina-desktop/panel-plugins/systemdashboard
parentFinish up the XDG "Actions" specification for *.desktop files, and integrate ... (diff)
downloadlumina-42b0bd6f25785c3823fdac7651e939bb921db627.tar.gz
lumina-42b0bd6f25785c3823fdac7651e939bb921db627.tar.bz2
lumina-42b0bd6f25785c3823fdac7651e939bb921db627.zip
Fix up the active re-loading of icons in the desktop interface when the icon theme changes.
Diffstat (limited to 'lumina-desktop/panel-plugins/systemdashboard')
-rw-r--r--lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.h b/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.h
index 7910f452..782fc4e6 100644
--- a/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.h
+++ b/lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.h
@@ -54,7 +54,12 @@ public slots:
updateIcon(true);
sysmenu->UpdateMenu();
}
-
+
+ void ThemeChange(){
+ updateIcon(true);
+ sysmenu->UpdateMenu();
+ }
+
void OrientationChange(){
if(this->layout()->direction()==QBoxLayout::LeftToRight){
this->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
bgstack15