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
|
@ -15,6 +15,8 @@
|
|||
#include <QScrollArea>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include "Core/PatchEngine.h"
|
||||
|
||||
NewPatchDialog::NewPatchDialog(QWidget* parent, PatchEngine::Patch& patch)
|
||||
: QDialog(parent), m_patch(patch)
|
||||
{
|
||||
|
|
|
@ -9,7 +9,10 @@
|
|||
#include <QDialog>
|
||||
#include <QWidget>
|
||||
|
||||
#include "Core/PatchEngine.h"
|
||||
namespace PatchEngine
|
||||
{
|
||||
struct Patch;
|
||||
}
|
||||
|
||||
class QDialogButtonBox;
|
||||
class QGroupBox;
|
||||
|
|
Loading…
Reference in New Issue