diff --git a/src/gui/qt/chattools/chattools.cpp b/src/gui/qt/chattools/chattools.cpp index fbf60ac3..396640aa 100644 --- a/src/gui/qt/chattools/chattools.cpp +++ b/src/gui/qt/chattools/chattools.cpp @@ -104,8 +104,6 @@ void ChatTools::nickAutoCompletition() { if(nickAutoCompletitionCounter == lastMatchStringList.size()) nickAutoCompletitionCounter = 0; - cout << nickAutoCompletitionCounter << endl; - // cout << nickAutoCompletitionCounter << "\n"; if(lastChatString == "") diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index 95230b26..b8f8892d 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -1355,10 +1355,9 @@ void mainWindowImpl::refreshPlayerName() { QStringList mainWindowImpl::getPlayerNicksList() { QStringList list; - HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand(); PlayerListConstIterator it_c; - for (it_c=currentHand->getSeatsList()->begin(); it_c!=currentHand->getSeatsList()->end(); it_c++) { + for (it_c=mySession->getCurrentGame()->getSeatsList()->begin(); it_c!=mySession->getCurrentGame()->getSeatsList()->end(); it_c++) { list << QString::fromUtf8((*it_c)->getMyName().c_str()); }