gui+log fixes
This commit is contained in:
@@ -353,11 +353,11 @@ void Log::logNewGameAdminMsg(QString playerName) {
|
||||
|
||||
void Log::logPlayerWinGame(QString playerName, int gameID) {
|
||||
|
||||
myW->textBrowser_Log->append( "<i><b>"+playerName+" wins game " + QString::number(gameID,10) +"!</i></b>");
|
||||
myW->textBrowser_Log->append( "<br><i><b>"+playerName+" wins game " + QString::number(gameID,10) +"!</i></b><br>");
|
||||
|
||||
if(myConfig->readConfigInt("LogOnOff")) {
|
||||
|
||||
logFileStreamString += "<i><b>"+playerName+" wins game " + QString::number(gameID,10) +"!</i></b><br>\n";
|
||||
logFileStreamString += "</br></br><i><b>"+playerName+" wins game " + QString::number(gameID,10) +"!</i></b><br>\n";
|
||||
|
||||
if(myConfig->readConfigInt("LogInterval") == 0) {
|
||||
writeLogFileStream(logFileStreamString);
|
||||
|
||||
@@ -544,6 +544,7 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
|
||||
connect(this, SIGNAL(signalRefreshButton()), this, SLOT(refreshButton()));
|
||||
connect(this, SIGNAL(signalRefreshGameLabels(int)), this, SLOT(refreshGameLabels(int)));
|
||||
connect(this, SIGNAL(signalSetPlayerAvatar(int, QString)), this, SLOT(setPlayerAvatar(int, QString)));
|
||||
connect(this, SIGNAL(signalSetPlayerAvatar(int, QString)), myGameLobbyDialog, SLOT(refreshConnectedPlayerAvatars()));
|
||||
|
||||
connect(this, SIGNAL(signalGuiUpdateDone()), this, SLOT(guiUpdateDone()));
|
||||
|
||||
@@ -2623,8 +2624,6 @@ void mainWindowImpl::postRiverRunAnimation3() {
|
||||
}
|
||||
}
|
||||
|
||||
textBrowser_Log->append("");
|
||||
|
||||
postRiverRunAnimation3Timer->start(postRiverRunAnimationSpeed/2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user