integrating chattools in mainwindow chat bugfix
This commit is contained in:
@@ -104,8 +104,6 @@ void ChatTools::nickAutoCompletition() {
|
||||
|
||||
if(nickAutoCompletitionCounter == lastMatchStringList.size()) nickAutoCompletitionCounter = 0;
|
||||
|
||||
cout << nickAutoCompletitionCounter << endl;
|
||||
|
||||
// cout << nickAutoCompletitionCounter << "\n";
|
||||
|
||||
if(lastChatString == "")
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user