[GamesModel] Rename 'Creator' column to 'Host' (#7083)

* [GamesModel] Rename 'Creator' column to 'Host' (#2108)


Took 5 minutes

* Actually re-broadcast host change

Took 8 minutes

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL 2026-08-13 18:58:21 +02:00 committed by GitHub
parent 48776cfeba
commit 26fb8622e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 59 additions and 42 deletions

View file

@ -104,14 +104,14 @@ QString GameFiltersSettings::getGameNameFilter() const
return getValue("gameNameFilter").toString();
}
void GameFiltersSettings::setCreatorNameFilters(QStringList creatorName)
void GameFiltersSettings::setHostNameFilters(QStringList hostName)
{
setValue(creatorName, "creatorNameFilter");
setValue(hostName, "hostNameFilter");
}
QStringList GameFiltersSettings::getCreatorNameFilters() const
QStringList GameFiltersSettings::getHostNameFilters() const
{
return getValue("creatorNameFilter").toStringList();
return getValue("hostNameFilter").toStringList();
}
void GameFiltersSettings::setMinPlayers(int min)

View file

@ -24,7 +24,7 @@ public:
bool isHideNotBuddyCreatedGames() const;
bool isHideOpenDecklistGames() const;
QString getGameNameFilter() const;
QStringList getCreatorNameFilters() const;
QStringList getHostNameFilters() const;
int getMinPlayers() const;
int getMaxPlayers() const;
QTime getMaxGameAge() const;
@ -42,7 +42,7 @@ public:
void setHidePasswordProtectedGames(bool hide);
void setHideNotBuddyCreatedGames(bool hide);
void setGameNameFilter(QString gameName);
void setCreatorNameFilters(QStringList creatorName);
void setHostNameFilters(QStringList hostName);
void setMinPlayers(int min);
void setMaxPlayers(int max);
void setMaxGameAge(const QTime &maxGameAge);