Removed all references to GameListModel from the Settings component.
This commit is contained in:
parent
31524288e3
commit
0d02e70d4a
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue