Skip to content

Commit

Permalink
Removed now-unused preference getters/setters
Browse files Browse the repository at this point in the history
(cherry-picked from commit b24de54)
  • Loading branch information
Vultraz committed Oct 7, 2018
1 parent 57177c6 commit a0eb92e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
20 changes: 0 additions & 20 deletions src/preferences/lobby.cpp
Expand Up @@ -32,26 +32,6 @@ bool auto_open_whisper_windows()
return preferences::get("lobby_auto_open_whisper_windows", true);
}

bool playerlist_sort_relation()
{
return preferences::get("lobby_playerlist_sort_relation", true);
}

void set_playerlist_sort_relation(bool v)
{
return preferences::set("lobby_playerlist_sort_relation", v);
}

bool playerlist_sort_name()
{
return preferences::get("lobby_playerlist_sort_name", true);
}

void set_playerlist_sort_name(bool v)
{
return preferences::set("lobby_playerlist_sort_name", v);
}

bool playerlist_group_players()
{
return preferences::get("lobby_playerlist_group_players", true);
Expand Down
6 changes: 0 additions & 6 deletions src/preferences/lobby.hpp
Expand Up @@ -24,12 +24,6 @@ namespace preferences {
bool auto_open_whisper_windows();
void set_auto_open_whisper_windows(bool v);

bool playerlist_sort_relation();
void set_playerlist_sort_relation(bool v);

bool playerlist_sort_name();
void set_playerlist_sort_name(bool v);

bool playerlist_group_players();

bool filter_lobby();
Expand Down

0 comments on commit a0eb92e

Please sign in to comment.