src/hbservers/hbthemeserver/main.cpp
changeset 3 11d3954df52a
parent 2 06ff229162e9
child 5 627c4a0fd0e7
--- a/src/hbservers/hbthemeserver/main.cpp	Fri May 14 16:09:54 2010 +0300
+++ b/src/hbservers/hbthemeserver/main.cpp	Thu May 27 13:10:59 2010 +0300
@@ -46,6 +46,14 @@
 
 int main(int argc, char *argv[])
 {
+    // Hiding theme server from the start up in first phase
+#if QT_VERSION >= 0x040601
+    QApplication::setAttribute(Qt::AA_S60DontConstructApplicationPanes);
+#endif // QT_VERSION
+
+    // We need to be up and running fast
+    HbThemeServerApplication::setPriority();
+
     if(!HbThemeServerApplication::acquireLock()) {
         return 0;
     }