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/LPPlugin.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/LPPlugin.h')
-rw-r--r-- | lumina-desktop/panel-plugins/LPPlugin.h | 2 |
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(){ |