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/desktopswitcher/LDesktopSwitcher.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lumina-desktop/panel-plugins/desktopswitcher') 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){ -- cgit