aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm/main.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-10-06 17:49:31 -0400
committerKen Moore <ken@pcbsd.org>2014-10-06 17:49:31 -0400
commit9a7d82954a8e77ca72a9d0b995ec5c0160e6018c (patch)
tree0ecacf8b0510e4330bd368af86459709857eed9d /lumina-fm/main.cpp
parentClean up the new global.h usage in all the Lumina subprojects. (diff)
downloadlumina-9a7d82954a8e77ca72a9d0b995ec5c0160e6018c.tar.gz
lumina-9a7d82954a8e77ca72a9d0b995ec5c0160e6018c.tar.bz2
lumina-9a7d82954a8e77ca72a9d0b995ec5c0160e6018c.zip
Get the new LuminaThemes class working with a sample color theme for Insight (for testing). The theme loading/usage appears to be working, now I just need to generalize the theme template so that it applies to all the QAbstract* widgets
Diffstat (limited to 'lumina-fm/main.cpp')
-rw-r--r--lumina-fm/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lumina-fm/main.cpp b/lumina-fm/main.cpp
index bc48d0db..29e59460 100644
--- a/lumina-fm/main.cpp
+++ b/lumina-fm/main.cpp
@@ -9,6 +9,7 @@
#include "MainUI.h"
#include <LuminaOS.h>
+#include <LuminaThemes.h>
int main(int argc, char ** argv)
{
@@ -26,6 +27,8 @@ int main(int argc, char ** argv)
QApplication a(argc, argv);
#endif
a.setApplicationName("Insight File Manager");
+ LuminaThemeEngine themes(&a);
+ //qDebug() << "StyleSheet:\n" << a.styleSheet();
//Load current Locale
QTranslator translator;
QLocale mylocale;
bgstack15