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/NetPlayClient.h"
|
||||||
#include "Core/NetPlayServer.h"
|
#include "Core/NetPlayServer.h"
|
||||||
|
|
||||||
#include "DolphinQt/GameList/GameListModel.h"
|
|
||||||
#include "DolphinQt/QtUtils/QueueOnObject.h"
|
#include "DolphinQt/QtUtils/QueueOnObject.h"
|
||||||
|
|
||||||
#include "InputCommon/ControllerInterface/ControllerInterface.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()
|
std::shared_ptr<NetPlay::NetPlayClient> Settings::GetNetPlayClient()
|
||||||
{
|
{
|
||||||
return m_client;
|
return m_client;
|
||||||
|
|
|
@ -26,7 +26,6 @@ class NetPlayClient;
|
||||||
class NetPlayServer;
|
class NetPlayServer;
|
||||||
} // namespace NetPlay
|
} // namespace NetPlay
|
||||||
|
|
||||||
class GameListModel;
|
|
||||||
class InputConfig;
|
class InputConfig;
|
||||||
|
|
||||||
// UI settings to be stored in the config directory.
|
// UI settings to be stored in the config directory.
|
||||||
|
@ -143,8 +142,6 @@ public:
|
||||||
bool IsAnalyticsEnabled() const;
|
bool IsAnalyticsEnabled() const;
|
||||||
void SetAnalyticsEnabled(bool enabled);
|
void SetAnalyticsEnabled(bool enabled);
|
||||||
|
|
||||||
// Other
|
|
||||||
GameListModel* GetGameListModel() const;
|
|
||||||
signals:
|
signals:
|
||||||
void ConfigChanged();
|
void ConfigChanged();
|
||||||
void EmulationStateChanged(Core::State new_state);
|
void EmulationStateChanged(Core::State new_state);
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#include "Core/Config/UISettings.h"
|
#include "Core/Config/UISettings.h"
|
||||||
#include "Core/ConfigManager.h"
|
#include "Core/ConfigManager.h"
|
||||||
|
|
||||||
#include "DolphinQt/GameList/GameListModel.h"
|
|
||||||
#include "DolphinQt/QtUtils/ModalMessageBox.h"
|
#include "DolphinQt/QtUtils/ModalMessageBox.h"
|
||||||
#include "DolphinQt/Settings.h"
|
#include "DolphinQt/Settings.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue