aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/LPPlugin.h
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/LPPlugin.h
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/LPPlugin.h')
-rw-r--r--lumina-desktop/panel-plugins/LPPlugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lumina-desktop/panel-plugins/LPPlugin.h b/lumina-desktop/panel-plugins/LPPlugin.h
index dd869bf6..8d1c0024 100644
--- a/lumina-desktop/panel-plugins/LPPlugin.h
+++ b/lumina-desktop/panel-plugins/LPPlugin.h
@@ -15,6 +15,7 @@
#include <QWidget>
#include <QString>
#include <QBoxLayout>
+#include <QApplication>
class LPPlugin : public QWidget{
Q_OBJECT
@@ -34,6 +35,7 @@ public:
LY->setContentsMargins(0,0,0,0);
LY->setSpacing(1);
this->setLayout(LY);
+ connect(QApplication::instance(), SIGNAL(LocaleChanged()), this, SLOT(LocaleChange()) );
}
~LPPlugin(){
bgstack15