move textBrowser_Log->clear(); to gametableimpl::hide()

This commit is contained in:
doitux
2011-11-05 21:48:06 +00:00
parent 26f01f0946
commit def86ac998
2 changed files with 9 additions and 6 deletions
+7 -6
View File
@@ -3137,9 +3137,6 @@ void gameTableImpl::localGameModification()
//Set the playing mode to "manual" //Set the playing mode to "manual"
radioButton_manualAction->click(); radioButton_manualAction->click();
//clear log
textBrowser_Log->clear();
//restore saved windows geometry //restore saved windows geometry
restoreGameTableGeometry(); restoreGameTableGeometry();
@@ -3181,9 +3178,6 @@ void gameTableImpl::networkGameModification()
//Set the playing mode to "manual" //Set the playing mode to "manual"
radioButton_manualAction->click(); radioButton_manualAction->click();
//clear log
textBrowser_Log->clear();
//restore saved windows geometry //restore saved windows geometry
restoreGameTableGeometry(); restoreGameTableGeometry();
@@ -3804,3 +3798,10 @@ void gameTableImpl::closeMessageBoxes()
myUniversalMessageDialog->close(); myUniversalMessageDialog->close();
} }
void gameTableImpl::hide()
{
//clear log
textBrowser_Log->clear();
QWidget::hide();
}
+2
View File
@@ -328,6 +328,8 @@ public slots:
void showWarningAutoFoldInRankingGame(unsigned); void showWarningAutoFoldInRankingGame(unsigned);
void closeMessageBoxes(); void closeMessageBoxes();
void hide();
private: private:
boost::shared_ptr<GuiInterface> myServerGuiInterface; boost::shared_ptr<GuiInterface> myServerGuiInterface;