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/desktopbar/LDeskBar.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lumina-desktop/panel-plugins/desktopbar/LDeskBar.h') diff --git a/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h b/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h index 8e624dc2..57d40e4c 100644 --- a/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h +++ b/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h @@ -61,8 +61,14 @@ private: private slots: void ActionTriggered(QAction* act); void desktopChanged(); - + void updateIcons(); + public slots: + void LocaleChange(){ + updateIcons(); + desktopChanged(); + } + void OrientationChange(){ QSize sz; if(this->layout()->direction()==QBoxLayout::LeftToRight){ -- cgit