summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Config/PropertiesDialog.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2018-02-16 14:53:52 +0100
committerspycrab <spycrab@users.noreply.github.com>2018-02-28 21:16:57 +0100
commit4b54f6b1c76c4ee2079a9307075dbc7ead5fa8ea (patch)
tree5f4076ac7c5f7f5660360da2440066c4a07d7c35 /Source/Core/DolphinQt2/Config/PropertiesDialog.cpp
parent6a609e6e3c5ac4f832f4f03082185cb46fd682e4 (diff)
Qt/PropertiesDialog: Implement "Patches" tab
Diffstat (limited to 'Source/Core/DolphinQt2/Config/PropertiesDialog.cpp')
-rw-r--r--Source/Core/DolphinQt2/Config/PropertiesDialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/Config/PropertiesDialog.cpp b/Source/Core/DolphinQt2/Config/PropertiesDialog.cpp
index 72cf5a8ba8..36f2aef707 100644
--- a/Source/Core/DolphinQt2/Config/PropertiesDialog.cpp
+++ b/Source/Core/DolphinQt2/Config/PropertiesDialog.cpp
@@ -10,6 +10,7 @@
#include "DolphinQt2/Config/FilesystemWidget.h"
#include "DolphinQt2/Config/GeckoCodeWidget.h"
#include "DolphinQt2/Config/InfoWidget.h"
+#include "DolphinQt2/Config/PatchesWidget.h"
#include "DolphinQt2/Config/PropertiesDialog.h"
PropertiesDialog::PropertiesDialog(QWidget* parent, const GameFile& game) : QDialog(parent)
@@ -23,6 +24,7 @@ PropertiesDialog::PropertiesDialog(QWidget* parent, const GameFile& game) : QDia
ARCodeWidget* ar = new ARCodeWidget(game);
GeckoCodeWidget* gecko = new GeckoCodeWidget(game);
+ PatchesWidget* patches = new PatchesWidget(game);
connect(gecko, &GeckoCodeWidget::OpenGeneralSettings, this,
&PropertiesDialog::OpenGeneralSettings);
@@ -30,6 +32,7 @@ PropertiesDialog::PropertiesDialog(QWidget* parent, const GameFile& game) : QDia
connect(ar, &ARCodeWidget::OpenGeneralSettings, this, &PropertiesDialog::OpenGeneralSettings);
tab_widget->addTab(info, tr("Info"));
+ tab_widget->addTab(patches, tr("Patches"));
tab_widget->addTab(ar, tr("AR Codes"));
tab_widget->addTab(gecko, tr("Gecko Codes"));