Removed all references to GameListModel from the Settings component.

This commit is contained in:
Christian Aguilera 2019-01-17 22:23:07 +00:00
parent 31524288e3
commit 0d02e70d4a
3 changed files with 0 additions and 11 deletions

View file

@ -24,7 +24,6 @@
#include "Core/NetPlayClient.h"
#include "Core/NetPlayServer.h"
#include "DolphinQt/GameList/GameListModel.h"
#include "DolphinQt/QtUtils/QueueOnObject.h"
#include "InputCommon/ControllerInterface/ControllerInterface.h"
@ -296,12 +295,6 @@ void Settings::SetLogConfigVisible(bool visible)
}
}
GameListModel* Settings::GetGameListModel() const
{
static GameListModel* model = new GameListModel;
return model;
}
std::shared_ptr<NetPlay::NetPlayClient> Settings::GetNetPlayClient()
{
return m_client;

View file

@ -26,7 +26,6 @@ class NetPlayClient;
class NetPlayServer;
} // namespace NetPlay
class GameListModel;
class InputConfig;
// UI settings to be stored in the config directory.
@ -143,8 +142,6 @@ public:
bool IsAnalyticsEnabled() const;
void SetAnalyticsEnabled(bool enabled);
// Other
GameListModel* GetGameListModel() const;
signals:
void ConfigChanged();
void EmulationStateChanged(Core::State new_state);

View file

@ -23,7 +23,6 @@
#include "Core/Config/UISettings.h"
#include "Core/ConfigManager.h"
#include "DolphinQt/GameList/GameListModel.h"
#include "DolphinQt/QtUtils/ModalMessageBox.h"
#include "DolphinQt/Settings.h"