summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Config/NewPatchDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt2/Config/NewPatchDialog.cpp')
-rw-r--r--Source/Core/DolphinQt2/Config/NewPatchDialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/Config/NewPatchDialog.cpp b/Source/Core/DolphinQt2/Config/NewPatchDialog.cpp
index f7f5c0b1cd..3e871b842a 100644
--- a/Source/Core/DolphinQt2/Config/NewPatchDialog.cpp
+++ b/Source/Core/DolphinQt2/Config/NewPatchDialog.cpp
@@ -17,7 +17,8 @@
#include <iostream>
-NewPatchDialog::NewPatchDialog(PatchEngine::Patch& patch) : m_patch(patch)
+NewPatchDialog::NewPatchDialog(QWidget* parent, PatchEngine::Patch& patch)
+ : QDialog(parent), m_patch(patch)
{
setWindowTitle(tr("Patch Editor"));
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);