src/hbservers/hbsplashgenerator/main.cpp
changeset 3 11d3954df52a
parent 2 06ff229162e9
child 5 627c4a0fd0e7
--- a/src/hbservers/hbsplashgenerator/main.cpp	Fri May 14 16:09:54 2010 +0300
+++ b/src/hbservers/hbsplashgenerator/main.cpp	Thu May 27 13:10:59 2010 +0300
@@ -56,6 +56,9 @@
         wgName->SetWindowGroupName(env->RootWin());
         CleanupStack::PopAndDestroy();
         RThread::RenameMe(hbsplash_server_name);
+        RProcess process;
+        process.SetPriority(EPriorityForeground);
+        process.Close();
     }
 #else
     Q_UNUSED(mutexToSignal);
@@ -88,8 +91,7 @@
 #ifdef Q_OS_SYMBIAN
     qDebug("[hbsplashgenerator] starting server");
     HbSplashGenServer server(&gen);
-    // If there was an error (or an instance is already running (it is
-    // possible in certain race conditions)) then exit right away.
+    // If there was an error then exit right away.
     if (!server.startupSuccess()) {
         qDebug("[hbsplashgenerator] exiting due to failed server startup");
         return 0;