diff --git a/src/gui/qt/mainwindow/log/log.cpp b/src/gui/qt/mainwindow/log/log.cpp
index f3c7b007..ea0a1b08 100644
--- a/src/gui/qt/mainwindow/log/log.cpp
+++ b/src/gui/qt/mainwindow/log/log.cpp
@@ -353,7 +353,7 @@ void Log::logNewGameAdminMsg(QString playerName) {
void Log::logPlayerWinGame(QString playerName, int gameID) {
- myW->textBrowser_Log->append( "
"+playerName+" wins game " + QString::number(gameID,10) +"!");
+ myW->textBrowser_Log->append( ""+playerName+" wins game " + QString::number(gameID,10) +"!
");
if(myConfig->readConfigInt("LogOnOff")) {
diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp
index d5f8c992..bb10bfbe 100755
--- a/src/gui/qt/mainwindow/mainwindowimpl.cpp
+++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp
@@ -2631,23 +2631,6 @@ void mainWindowImpl::postRiverRunAnimation3() {
}
}
-
- int playersPositiveCashCounter = 0;
- for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
-
- if ((*it_c)->getMyCash() > 0) {
- playersPositiveCashCounter++;
- }
- }
- if(playersPositiveCashCounter==1) {
- for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
-
- if ((*it_c)->getMyCash() > 0) {
- currentHand->getGuiInterface()->logPlayerWinGame((*it_c)->getMyName(), mySession->getCurrentGame()->getMyGameID());
- }
- }
- }
-
textBrowser_Log->append("");
postRiverRunAnimation3Timer->start(postRiverRunAnimationSpeed/2);
@@ -2723,6 +2706,13 @@ void mainWindowImpl::postRiverRunAnimation6() {
if (playersPositiveCashCounter==1) {
+ for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
+
+ if ((*it_c)->getMyCash() > 0) {
+ currentHand->getGuiInterface()->logPlayerWinGame((*it_c)->getMyName(), mySession->getCurrentGame()->getMyGameID());
+ }
+ }
+
if( !DEBUG_MODE ) {
currentGameOver = TRUE;