diff --git a/src/gui/qt/gui_800x480/gamelobbydialog_800x480.ui b/src/gui/qt/gui_800x480/gamelobbydialog_800x480.ui index 755ea40c..dffffa8b 100644 --- a/src/gui/qt/gui_800x480/gamelobbydialog_800x480.ui +++ b/src/gui/qt/gui_800x480/gamelobbydialog_800x480.ui @@ -134,7 +134,7 @@ &Leave Game - + :/gfx/go-previous-view.png:/gfx/go-previous-view.png @@ -196,7 +196,7 @@ &Start Game - + :/gfx/dialog_ok_apply.png:/gfx/dialog_ok_apply.png @@ -232,7 +232,7 @@ &Kick Player - + :/gfx/list-remove.png:/gfx/list-remove.png @@ -330,7 +330,7 @@ Join &any game - + :/gfx/transform-rotate.png:/gfx/transform-rotate.png @@ -369,7 +369,7 @@ &Create Game - + :/gfx/list_add.png:/gfx/list_add.png @@ -395,7 +395,7 @@ &Join Game - + :/gfx/go-next-view.png:/gfx/go-next-view.png @@ -459,58 +459,100 @@ - QObject {font: bold 16px} + QObject {font: bold 14px} Game Info - - + + 0 0 - - - - - 0 - 0 - + + + + 0 - - - 221 - 100 - - - - Qt::CustomContextMenu - - - QObject {font: 14px} - - - 1 - - - - 25 - 26 - - - - 15 - - - - Connected Players - - + + + Players + + + + 0 + + + + + + 0 + 0 + + + + + 221 + 100 + + + + Qt::CustomContextMenu + + + QObject {font: 14px} + + + 1 + + + + 25 + 26 + + + + 15 + + + true + + + + Connected Players + + + + + + + + + Spectators + + + + 0 + + + + + true + + + + 1 + + + + + + - + @@ -780,7 +822,7 @@ - + @@ -797,7 +839,7 @@ Fill up with computer opponents - + :/gfx/swbuttonlocalgame.png:/gfx/swbuttonlocalgame.png @@ -1129,7 +1171,7 @@ p, li { white-space: pre-wrap; } pushButton_Leave - + diff --git a/src/gui/qt/sound/androidaudio.cpp b/src/gui/qt/sound/androidaudio.cpp index 014adda0..6ed50060 100644 --- a/src/gui/qt/sound/androidaudio.cpp +++ b/src/gui/qt/sound/androidaudio.cpp @@ -82,7 +82,7 @@ void AndroidAudio::createEngine() Q_ASSERT(SL_RESULT_SUCCESS == result); // realize the engine - result = (*mEngineObject)->Realize(mEngineObject, SL_BOOLEAN_false); + result = (*mEngineObject)->Realize(mEngineObject, SL_BOOLEAN_FALSE); Q_ASSERT(SL_RESULT_SUCCESS == result); // get the engine interface, which is needed in order to create other objects @@ -96,7 +96,7 @@ void AndroidAudio::createEngine() Q_ASSERT(SL_RESULT_SUCCESS == result); // realize the output mix - result = (*mOutputMixObject)->Realize(mOutputMixObject, SL_BOOLEAN_false); + result = (*mOutputMixObject)->Realize(mOutputMixObject, SL_BOOLEAN_FALSE); Q_ASSERT(SL_RESULT_SUCCESS == result); qDebug() << "Created Android Audio Engine"; @@ -171,7 +171,7 @@ void AndroidAudio::startSoundPlayer() //Create the sound player const SLuint32 lSoundPlayerIIDCount = 2; const SLInterfaceID lSoundPlayerIIDs[] = { SL_IID_PLAY, SL_IID_BUFFERQUEUE }; - const SLboolean lSoundPlayerReqs[] = { SL_BOOLEAN_true, SL_BOOLEAN_true }; + const SLboolean lSoundPlayerReqs[] = { SL_BOOLEAN_TRUE, SL_BOOLEAN_TRUE }; // qDebug() << "Configured Sound Player"; @@ -180,7 +180,7 @@ void AndroidAudio::startSoundPlayer() // qDebug() << "Created Sound Player"; - lRes = (*mPlayerObject)->Realize(mPlayerObject, SL_BOOLEAN_false); + lRes = (*mPlayerObject)->Realize(mPlayerObject, SL_BOOLEAN_FALSE); Q_ASSERT(SL_RESULT_SUCCESS == lRes); qDebug() << "Realised Sound Player";