From f3f6dd1a0861a22aa06f31f49246d91dbbdafb14 Mon Sep 17 00:00:00 2001 From: doitux Date: Mon, 17 Sep 2007 21:51:44 +0000 Subject: [PATCH] chat-tab removed for local games (not disabled) --- src/gui/qt/mainwindow/mainwindowimpl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index b69e94f9..ec5b7c6c 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -2808,8 +2808,8 @@ void mainWindowImpl::tabSwitchAction() { void mainWindowImpl::localGameModification() { tabWidget_Left->setCurrentIndex(0); - tabWidget_Left->disableTab(1, TRUE); - + tabWidget_Left->removeTab(1); + int i; for (i=0; istopTimeOutAnimation(); @@ -2818,7 +2818,7 @@ void mainWindowImpl::localGameModification() { void mainWindowImpl::networkGameModification() { - tabWidget_Left->disableTab(1, FALSE); + tabWidget_Left->insertTab(1, tab_Chat, QString(tr("Chat"))); tabWidget_Left->setCurrentIndex(1); myChat->clearNewGame();