mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
DolphinQt/Settings: Replace includes with forward declarations
Avoids dragging in netplay-related headers where they aren't explicitly necessary.
This commit is contained in:
parent
9487892c18
commit
b4d91cc612
4 changed files with 20 additions and 6 deletions
|
@ -19,6 +19,8 @@
|
|||
#include "Core/Config/MainSettings.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/NetPlayClient.h"
|
||||
#include "Core/NetPlayServer.h"
|
||||
|
||||
#include "DolphinQt/GameList/GameListModel.h"
|
||||
#include "DolphinQt/QtUtils/QueueOnObject.h"
|
||||
|
@ -38,6 +40,8 @@ Settings::Settings()
|
|||
SetCurrentUserStyle(GetCurrentUserStyle());
|
||||
}
|
||||
|
||||
Settings::~Settings() = default;
|
||||
|
||||
Settings& Settings::Instance()
|
||||
{
|
||||
static Settings settings;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue