rename function

This commit is contained in:
Zach H 2015-07-03 00:37:30 -04:00
parent e2be1cd897
commit cc3e4edfd9
2 changed files with 2 additions and 2 deletions

View file

@ -298,7 +298,7 @@ void ChatView::appendMessage(QString message, QString sender, UserLevelFlags use
} }
else if (index == mentionFirstIndex) else if (index == mentionFirstIndex)
{ {
if (tabSupervisor->isALocalGame()) if (tabSupervisor->getIsLocalGame())
{ {
cursor.insertText("@"); cursor.insertText("@");
message = message.mid(1); message = message.mid(1);

View file

@ -68,7 +68,7 @@ public:
void start(const ServerInfo_User &userInfo); void start(const ServerInfo_User &userInfo);
void startLocal(const QList<AbstractClient *> &_clients); void startLocal(const QList<AbstractClient *> &_clients);
void stop(); void stop();
bool isALocalGame() const { return isLocalGame; } bool getIsLocalGame() const { return isLocalGame; }
int getGameCount() const { return gameTabs.size(); } int getGameCount() const { return gameTabs.size(); }
TabUserLists *getUserListsTab() const { return tabUserLists; } TabUserLists *getUserListsTab() const { return tabUserLists; }
ServerInfo_User *getUserInfo() const { return userInfo; } ServerInfo_User *getUserInfo() const { return userInfo; }