integrating chattools in mainwindow chat bugfix

This commit is contained in:
doitux
2007-10-12 19:22:08 +00:00
parent bb9677835a
commit 56722c3da6
2 changed files with 1 additions and 4 deletions
-2
View File
@@ -104,8 +104,6 @@ void ChatTools::nickAutoCompletition() {
if(nickAutoCompletitionCounter == lastMatchStringList.size()) nickAutoCompletitionCounter = 0;
cout << nickAutoCompletitionCounter << endl;
// cout << nickAutoCompletitionCounter << "\n";
if(lastChatString == "")
+1 -2
View File
@@ -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());
}