From 790d9339aa763ee7598028b08e50321c47c9fadd Mon Sep 17 00:00:00 2001 From: ZeldaZach Date: Tue, 14 Jan 2025 00:16:01 -0500 Subject: [PATCH] Rename --- cockatrice/src/client/tabs/tab_room.cpp | 2 +- cockatrice/src/client/tabs/tab_supervisor.h | 2 +- cockatrice/src/game/games_model.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cockatrice/src/client/tabs/tab_room.cpp b/cockatrice/src/client/tabs/tab_room.cpp index 130023b1f..9e3ce8d90 100644 --- a/cockatrice/src/client/tabs/tab_room.cpp +++ b/cockatrice/src/client/tabs/tab_room.cpp @@ -282,7 +282,7 @@ void TabRoom::processRoomSayEvent(const Event_RoomSay &event) QString senderName = QString::fromStdString(event.name()); QString message = QString::fromStdString(event.message()); - if (tabSupervisor->getUserListManger()->getIgnoreList()->getUsers().contains(senderName)) + if (tabSupervisor->getUserListManager()->getIgnoreList()->getUsers().contains(senderName)) return; UserListTWI *twi = userList->getUsers().value(senderName); diff --git a/cockatrice/src/client/tabs/tab_supervisor.h b/cockatrice/src/client/tabs/tab_supervisor.h index f5d830ec1..fb61c5c81 100644 --- a/cockatrice/src/client/tabs/tab_supervisor.h +++ b/cockatrice/src/client/tabs/tab_supervisor.h @@ -119,7 +119,7 @@ public: return userInfo; } AbstractClient *getClient() const; - const UserListManager *getUserListManger() const { + const UserListManager *getUserListManager() const { return userListManager; } const QMap &getRoomTabs() const diff --git a/cockatrice/src/game/games_model.cpp b/cockatrice/src/game/games_model.cpp index 9c75d27a3..4bf2ed85e 100644 --- a/cockatrice/src/game/games_model.cpp +++ b/cockatrice/src/game/games_model.cpp @@ -508,7 +508,7 @@ bool GamesProxyModel::filterAcceptsRow(int sourceRow) const if (!showBuddiesOnlyGames && game.only_buddies()) { return false; } - if (hideIgnoredUserGames && tabSupervisor->getUserListManger()->getIgnoreList()->getUsers().contains( + if (hideIgnoredUserGames && tabSupervisor->getUserListManager()->getIgnoreList()->getUsers().contains( QString::fromStdString(game.creator_info().name()))) { return false; }