aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/desktopswitcher
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-07-22 11:46:28 -0400
committerKen Moore <moorekou@gmail.com>2015-07-22 11:46:28 -0400
commit9d59ab6020d1d3857a580e73e5d1823b514bf8a7 (patch)
tree6ffdb4965d7c2a4e12bb2b08ec8667af6032eb47 /lumina-desktop/panel-plugins/desktopswitcher
parentFinish cleaning up the new localization configuration settings in libLumina, ... (diff)
downloadlumina-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/desktopswitcher')
-rw-r--r--lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.h b/lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.h
index bd23d8e9..5dd5a785 100644
--- a/lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.h
+++ b/lumina-desktop/panel-plugins/desktopswitcher/LDesktopSwitcher.h
@@ -50,6 +50,10 @@ private slots:
void menuActionTriggered(QAction*);
public slots:
+ void LocaleChange(){
+ createMenu();
+ }
+
void OrientationChange(){
QSize sz;
if(this->layout()->direction()==QBoxLayout::LeftToRight){
bgstack15