aboutsummaryrefslogtreecommitdiff
path: root/mthemedaemon
diff options
context:
space:
mode:
authorArmin Berres <armin.berres@basyskom.de>2010-10-27 11:36:42 +0200
committerArmin Berres <armin.berres@basyskom.de>2010-10-27 11:58:04 +0200
commit24ebb8e7056f0dce4af85eee1293edda45910999 (patch)
treeb67587355e20a3c654647b98c12c94772c55696b /mthemedaemon
parentd536e8ca944f3f228f70617496c5ccfb1919ff02 (diff)
Changes: force native graphicssystem for themedaemon
RevBy: Stanislav Ionascu Details: Qt forces the meego graphcissystem for non-MTF Qt apps. The themedaemon fails then to work as QPixmaps are no X pixmaps.
Diffstat (limited to 'mthemedaemon')
-rw-r--r--mthemedaemon/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/mthemedaemon/main.cpp b/mthemedaemon/main.cpp
index f5576411..635a9783 100644
--- a/mthemedaemon/main.cpp
+++ b/mthemedaemon/main.cpp
@@ -48,6 +48,9 @@ int main(int argc, char **argv)
// make sure we are not loading the maemo6 qt style which
// could interfere with us
QApplication::setStyle("windows");
+#ifndef HAVE_MEEGOGRAPHICSSYSTEM
+ QApplication::setGraphicsSystem("native");
+#endif // HAVE_MEEGOGRAPHICSSYSTEM
QApplication app(argc, argv);
// Apply custom server address, if the "-address" has been passed as argument