diff options
Diffstat (limited to 'lumina-screenshot/main.cpp')
-rw-r--r-- | lumina-screenshot/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lumina-screenshot/main.cpp b/lumina-screenshot/main.cpp index 0b564f71..b7112a4d 100644 --- a/lumina-screenshot/main.cpp +++ b/lumina-screenshot/main.cpp @@ -5,10 +5,12 @@ #include "MainUI.h" #include <LuminaOS.h> +#include <LuminaThemes.h> int main(int argc, char ** argv) { QApplication a(argc, argv); + LuminaThemeEngine theme(&a); a.setApplicationName("Take Screenshot"); QTranslator translator; QLocale mylocale; @@ -20,6 +22,7 @@ int main(int argc, char ** argv) qDebug() << "Locale:" << langCode; MainUI w; + QObject::connect(&theme,SIGNAL(updateIcons()), &w, SLOT(setupIcons()) ); w.show(); return a.exec(); |