src/hbservers/hbsplashgenerator/main.cpp
changeset 21 4633027730f5
parent 7 923ff622b8b9
child 23 e6ad4ef83b23
equal deleted inserted replaced
7:923ff622b8b9 21:4633027730f5
    55         wgName->SetCaptionL(hbsplash_server_name);
    55         wgName->SetCaptionL(hbsplash_server_name);
    56         wgName->SetAppUid(KNullUid);
    56         wgName->SetAppUid(KNullUid);
    57         wgName->SetWindowGroupName(env->RootWin());
    57         wgName->SetWindowGroupName(env->RootWin());
    58         CleanupStack::PopAndDestroy();
    58         CleanupStack::PopAndDestroy();
    59         RThread::RenameMe(hbsplash_server_name);
    59         RThread::RenameMe(hbsplash_server_name);
       
    60         // Cannot change the priority for the emulator because it would hang
       
    61         // with MINIMALSTART. This may result in huge delays in boot time splash
       
    62         // generation (for winscw) but there's not much we can do.
       
    63 #ifndef __WINSCW__
    60         RProcess process;
    64         RProcess process;
    61         process.SetPriority(EPriorityForeground);
    65         process.SetPriority(EPriorityForeground);
    62         process.Close();
    66         process.Close();
       
    67 #endif
    63     }
    68     }
    64 #else
    69 #else
    65     Q_UNUSED(mutexToSignal);
    70     Q_UNUSED(mutexToSignal);
    66     HbApplication app(argc, argv, Hb::NoSplash);
    71     HbApplication app(argc, argv, Hb::NoSplash);
    67 #endif
    72 #endif