src/hbservers/hbsplashgenerator/main.cpp
changeset 21 4633027730f5
parent 7 923ff622b8b9
child 23 e6ad4ef83b23
--- a/src/hbservers/hbsplashgenerator/main.cpp	Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbservers/hbsplashgenerator/main.cpp	Wed Aug 18 10:05:37 2010 +0300
@@ -57,9 +57,14 @@
         wgName->SetWindowGroupName(env->RootWin());
         CleanupStack::PopAndDestroy();
         RThread::RenameMe(hbsplash_server_name);
+        // Cannot change the priority for the emulator because it would hang
+        // with MINIMALSTART. This may result in huge delays in boot time splash
+        // generation (for winscw) but there's not much we can do.
+#ifndef __WINSCW__
         RProcess process;
         process.SetPriority(EPriorityForeground);
         process.Close();
+#endif
     }
 #else
     Q_UNUSED(mutexToSignal);