diff options
author | Ken Moore <moorekou@gmail.com> | 2015-07-22 11:46:28 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-07-22 11:46:28 -0400 |
commit | 9d59ab6020d1d3857a580e73e5d1823b514bf8a7 (patch) | |
tree | 6ffdb4965d7c2a4e12bb2b08ec8667af6032eb47 /lumina-desktop/panel-plugins/desktopbar/LDeskBar.h | |
parent | Finish cleaning up the new localization configuration settings in libLumina, ... (diff) | |
download | lumina-9d59ab6020d1d3857a580e73e5d1823b514bf8a7.tar.gz lumina-9d59ab6020d1d3857a580e73e5d1823b514bf8a7.tar.bz2 lumina-9d59ab6020d1d3857a580e73e5d1823b514bf8a7.zip |
Make sure that all the interface elements in lumina-desktop actively re-load their text/icons when the system locale is changed.
Diffstat (limited to 'lumina-desktop/panel-plugins/desktopbar/LDeskBar.h')
-rw-r--r-- | lumina-desktop/panel-plugins/desktopbar/LDeskBar.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h b/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h index 8e624dc2..57d40e4c 100644 --- a/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h +++ b/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h @@ -61,8 +61,14 @@ private: private slots: void ActionTriggered(QAction* act); void desktopChanged(); - + void updateIcons(); + public slots: + void LocaleChange(){ + updateIcons(); + desktopChanged(); + } + void OrientationChange(){ QSize sz; if(this->layout()->direction()==QBoxLayout::LeftToRight){ |