diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-01-01 20:01:58 +0000 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-01-01 21:44:49 +0000 |
| commit | afa69a587696f1ccb3a1106743d9d6850c5a47a5 (patch) | |
| tree | ad92d6e7c3e1a2a7b246368169d34f623b5a410c /Source/Core/DolphinQt2/Config/PropertiesDialog.cpp | |
| parent | a4be51109c21df3b7b3e5ce3382116fc39a7766a (diff) | |
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())) |
