Permalink
Browse files

NewPatchDialog: Convert PatchEngine include into a forward declaration

Avoids needing to include Core headers in UI-related header files,
preventing unintentional propagation.
  • Loading branch information...
lioncash committed May 13, 2018
1 parent e67cbd4 commit df3f9af6d7f2541b4f0e874097bd82abf7bccb31
@@ -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;

0 comments on commit df3f9af

Please sign in to comment.