Settings: Implement NetPlay globals

This commit is contained in:
spycrab
2017-08-01 12:55:21 +02:00
parent 2e29509b75
commit 78cc759d56
4 changed files with 44 additions and 10 deletions

View File

@ -416,16 +416,7 @@ QString GameList::GetSelectedGame() const
return QStringLiteral("");
}
<<<<<<< HEAD
GameListModel* GameList::GetModel() const
{
return m_model;
}
void GameList::SetPreferredView(bool table)
=======
void GameList::SetPreferredView(bool list)
>>>>>>> af63a1c36d... tmp.
{
m_prefer_list = list;
Settings::Instance().SetPreferredView(list);

View File

@ -20,7 +20,6 @@ class GameList final : public QStackedWidget
public:
explicit GameList(QWidget* parent = nullptr);
QString GetSelectedGame() const;
GameListModel* GetModel() const;
void SetListView() { SetPreferredView(true); }
void SetGridView() { SetPreferredView(false); }