integrating chattools in mainwindow chat bugfix
This commit is contained in:
@@ -104,8 +104,6 @@ void ChatTools::nickAutoCompletition() {
|
|||||||
|
|
||||||
if(nickAutoCompletitionCounter == lastMatchStringList.size()) nickAutoCompletitionCounter = 0;
|
if(nickAutoCompletitionCounter == lastMatchStringList.size()) nickAutoCompletitionCounter = 0;
|
||||||
|
|
||||||
cout << nickAutoCompletitionCounter << endl;
|
|
||||||
|
|
||||||
// cout << nickAutoCompletitionCounter << "\n";
|
// cout << nickAutoCompletitionCounter << "\n";
|
||||||
|
|
||||||
if(lastChatString == "")
|
if(lastChatString == "")
|
||||||
|
|||||||
@@ -1355,10 +1355,9 @@ void mainWindowImpl::refreshPlayerName() {
|
|||||||
QStringList mainWindowImpl::getPlayerNicksList() {
|
QStringList mainWindowImpl::getPlayerNicksList() {
|
||||||
|
|
||||||
QStringList list;
|
QStringList list;
|
||||||
HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand();
|
|
||||||
PlayerListConstIterator it_c;
|
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());
|
list << QString::fromUtf8((*it_c)->getMyName().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user