diff --git a/cockatrice/src/chatview.cpp b/cockatrice/src/chatview.cpp index 875d36cd..a2c99747 100644 --- a/cockatrice/src/chatview.cpp +++ b/cockatrice/src/chatview.cpp @@ -298,7 +298,7 @@ void ChatView::appendMessage(QString message, QString sender, UserLevelFlags use } else if (index == mentionFirstIndex) { - if (tabSupervisor->isALocalGame()) + if (tabSupervisor->getIsLocalGame()) { cursor.insertText("@"); message = message.mid(1); diff --git a/cockatrice/src/tab_supervisor.h b/cockatrice/src/tab_supervisor.h index 2277ceea..a29c316c 100644 --- a/cockatrice/src/tab_supervisor.h +++ b/cockatrice/src/tab_supervisor.h @@ -68,7 +68,7 @@ public: void start(const ServerInfo_User &userInfo); void startLocal(const QList &_clients); void stop(); - bool isALocalGame() const { return isLocalGame; } + bool getIsLocalGame() const { return isLocalGame; } int getGameCount() const { return gameTabs.size(); } TabUserLists *getUserListsTab() const { return tabUserLists; } ServerInfo_User *getUserInfo() const { return userInfo; }