diff -r 730c025d4b77 -r f378acbc9cfb src/hbservers/hbthemeserver/main.cpp --- a/src/hbservers/hbthemeserver/main.cpp Thu Jul 15 14:03:49 2010 +0100 +++ b/src/hbservers/hbthemeserver/main.cpp Thu Jul 22 16:36:53 2010 +0100 @@ -26,6 +26,7 @@ #include "hbthemeserverapplication_p.h" #include #include +#include void showHelp(const QString &argv0, const QString &error = QString()) { @@ -46,7 +47,16 @@ int main(int argc, char *argv[]) { - if(!HbThemeServerApplication::acquireLock()) { + // 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(); + + HbThemeServerLocker locker; + if(!locker.lock()) { return 0; }