From 9d59ab6020d1d3857a580e73e5d1823b514bf8a7 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 22 Jul 2015 11:46:28 -0400 Subject: Make sure that all the interface elements in lumina-desktop actively re-load their text/icons when the system locale is changed. --- lumina-desktop/panel-plugins/LPPlugin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lumina-desktop/panel-plugins/LPPlugin.h') 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 #include #include +#include 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(){ -- cgit