diff options
author | Ken Moore <moorekou@gmail.com> | 2015-07-24 12:38:28 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-07-24 12:38:28 -0400 |
commit | 42b0bd6f25785c3823fdac7651e939bb921db627 (patch) | |
tree | b54efa8fa60b6abd3c3214f8395b8878825a4ce2 /lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.h | |
parent | Finish up the XDG "Actions" specification for *.desktop files, and integrate ... (diff) | |
download | lumina-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/LSysDashboard.h')
-rw-r--r-- | lumina-desktop/panel-plugins/systemdashboard/LSysDashboard.h | 7 |
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); |