Minor code clean-up.

This commit is contained in:
LoRd_MuldeR 2012-03-24 19:10:37 +01:00
parent 3e4f8f273d
commit ca933d1b7e
3 changed files with 9 additions and 7 deletions

Binary file not shown.

View File

@ -29,8 +29,8 @@
#define VER_LAMEXP_MINOR_HI 0 #define VER_LAMEXP_MINOR_HI 0
#define VER_LAMEXP_MINOR_LO 4 #define VER_LAMEXP_MINOR_LO 4
#define VER_LAMEXP_TYPE Beta #define VER_LAMEXP_TYPE Beta
#define VER_LAMEXP_PATCH 7 #define VER_LAMEXP_PATCH 8
#define VER_LAMEXP_BUILD 917 #define VER_LAMEXP_BUILD 918
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Tool versions (minimum expected versions!) // Tool versions (minimum expected versions!)

View File

@ -119,13 +119,15 @@ void SplashScreen::showSplash(QThread *thread)
timer->start(30720); timer->start(30720);
//Loop while thread is still running //Loop while thread is still running
bool bIsRunning = THREAD_RUNNING(thread); if(bool bIsRunning = THREAD_RUNNING(thread))
while(bIsRunning)
{ {
loop->exec(); while(bIsRunning)
if(bIsRunning = THREAD_RUNNING(thread))
{ {
qWarning("Potential deadlock in initialization thread!"); loop->exec();
if(bIsRunning = THREAD_RUNNING(thread))
{
qWarning("Potential deadlock in initialization thread!");
}
} }
} }