diff options
| author | Anthony <Helios747@users.noreply.github.com> | 2018-01-23 12:23:54 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-23 12:23:54 -0800 |
| commit | 440101a6bb8f95d1b6a3dcd42a188e2affe3e9e1 (patch) | |
| tree | 76fe11feee333c1d5744a3d34f4542557c53c768 /Source/Core/DolphinQt2/Config/PropertiesDialog.cpp | |
| parent | fca56d532a4da844c324d7a4ea05252e72d89fcf (diff) | |
| parent | afa69a587696f1ccb3a1106743d9d6850c5a47a5 (diff) | |
Merge pull request #6279 from spycrab/qt_arcodes
Qt: Implement "AR Codes"
Diffstat (limited to 'Source/Core/DolphinQt2/Config/PropertiesDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Config/PropertiesDialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/Config/PropertiesDialog.cpp b/Source/Core/DolphinQt2/Config/PropertiesDialog.cpp index d8c464f07c..72cf5a8ba8 100644 --- a/Source/Core/DolphinQt2/Config/PropertiesDialog.cpp +++ b/Source/Core/DolphinQt2/Config/PropertiesDialog.cpp @@ -6,6 +6,7 @@ #include <QTabWidget> #include <QVBoxLayout> +#include "DolphinQt2/Config/ARCodeWidget.h" #include "DolphinQt2/Config/FilesystemWidget.h" #include "DolphinQt2/Config/GeckoCodeWidget.h" #include "DolphinQt2/Config/InfoWidget.h" @@ -20,12 +21,16 @@ PropertiesDialog::PropertiesDialog(QWidget* parent, const GameFile& game) : QDia QTabWidget* tab_widget = new QTabWidget(this); InfoWidget* info = new InfoWidget(game); + ARCodeWidget* ar = new ARCodeWidget(game); GeckoCodeWidget* gecko = new GeckoCodeWidget(game); connect(gecko, &GeckoCodeWidget::OpenGeneralSettings, this, &PropertiesDialog::OpenGeneralSettings); + connect(ar, &ARCodeWidget::OpenGeneralSettings, this, &PropertiesDialog::OpenGeneralSettings); + tab_widget->addTab(info, tr("Info")); + tab_widget->addTab(ar, tr("AR Codes")); tab_widget->addTab(gecko, tr("Gecko Codes")); if (DiscIO::IsDisc(game.GetPlatformID())) |
