mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
NewPatchDialog: Convert PatchEngine include into a forward declaration
Avoids needing to include Core headers in UI-related header files, preventing unintentional propagation.
This commit is contained in:
parent
e67cbd462b
commit
df3f9af6d7
2 changed files with 6 additions and 1 deletions
|
@ -15,6 +15,8 @@
|
||||||
#include <QScrollArea>
|
#include <QScrollArea>
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
|
|
||||||
|
#include "Core/PatchEngine.h"
|
||||||
|
|
||||||
NewPatchDialog::NewPatchDialog(QWidget* parent, PatchEngine::Patch& patch)
|
NewPatchDialog::NewPatchDialog(QWidget* parent, PatchEngine::Patch& patch)
|
||||||
: QDialog(parent), m_patch(patch)
|
: QDialog(parent), m_patch(patch)
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,7 +9,10 @@
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "Core/PatchEngine.h"
|
namespace PatchEngine
|
||||||
|
{
|
||||||
|
struct Patch;
|
||||||
|
}
|
||||||
|
|
||||||
class QDialogButtonBox;
|
class QDialogButtonBox;
|
||||||
class QGroupBox;
|
class QGroupBox;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue