mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-11 20:15:48 +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
|
@ -13,6 +13,9 @@
|
|||
#include <QProgressBar>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include "Core/NetPlayClient.h"
|
||||
#include "Core/NetPlayServer.h"
|
||||
|
||||
#include "DolphinQt/Settings.h"
|
||||
|
||||
static QString GetPlayerNameFromPID(int pid)
|
||||
|
|
|
@ -3,15 +3,17 @@
|
|||
// Refer to the license.txt file included.
|
||||
|
||||
#include "DolphinQt/NetPlay/PadMappingDialog.h"
|
||||
#include "DolphinQt/Settings.h"
|
||||
|
||||
#include "Core/NetPlayClient.h"
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QGridLayout>
|
||||
#include <QLabel>
|
||||
|
||||
#include "Core/NetPlayClient.h"
|
||||
#include "Core/NetPlayServer.h"
|
||||
|
||||
#include "DolphinQt/Settings.h"
|
||||
|
||||
PadMappingDialog::PadMappingDialog(QWidget* parent) : QDialog(parent)
|
||||
{
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue