mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
[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:
parent
48776cfeba
commit
26fb8622e3
8 changed files with 59 additions and 42 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue