aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/main.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-07-24 12:38:28 -0400
committerKen Moore <moorekou@gmail.com>2015-07-24 12:38:28 -0400
commit42b0bd6f25785c3823fdac7651e939bb921db627 (patch)
treeb54efa8fa60b6abd3c3214f8395b8878825a4ce2 /lumina-desktop/main.cpp
parentFinish up the XDG "Actions" specification for *.desktop files, and integrate ... (diff)
downloadlumina-42b0bd6f25785c3823fdac7651e939bb921db627.tar.gz
lumina-42b0bd6f25785c3823fdac7651e939bb921db627.tar.bz2
lumina-42b0bd6f25785c3823fdac7651e939bb921db627.zip
Fix up the active re-loading of icons in the desktop interface when the icon theme changes.
Diffstat (limited to 'lumina-desktop/main.cpp')
-rw-r--r--lumina-desktop/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lumina-desktop/main.cpp b/lumina-desktop/main.cpp
index 4bcde4f8..4a2903e6 100644
--- a/lumina-desktop/main.cpp
+++ b/lumina-desktop/main.cpp
@@ -84,6 +84,7 @@ int main(int argc, char ** argv)
qInstallMessageHandler(MessageOutput);
if(DEBUG){ qDebug() << "Theme Init:" << timer->elapsed(); }
LuminaThemeEngine theme(&a);
+ QObject::connect(&theme, SIGNAL(updateIcons()), &a, SLOT(reloadIconTheme()) );
//if(DEBUG){ qDebug() << "Load Locale:" << timer->elapsed(); }
//LUtils::LoadTranslation(&a, "lumina-desktop");
if(DEBUG){ qDebug() << "Session Setup:" << timer->elapsed(); }
bgstack15