aboutsummaryrefslogtreecommitdiff
path: root/src/citra_qt/configure_debug.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-12-21 23:49:36 -0500
committerJames Rowe <jroweboy@gmail.com>2017-04-03 20:43:13 -0600
commit1631e99eed644bb9d313bc49ef6023ac3afe1e52 (patch)
tree523eade6ec8d6779a4a55a46f1471079b88bf4f9 /src/citra_qt/configure_debug.cpp
parent30c130546e8628c5b9e2d2bf655dc7dff4e9948e (diff)
citra-qt: Move config dialog code to its own directory
Diffstat (limited to 'src/citra_qt/configure_debug.cpp')
-rw-r--r--src/citra_qt/configure_debug.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/citra_qt/configure_debug.cpp b/src/citra_qt/configure_debug.cpp
deleted file mode 100644
index dcc398eee2..0000000000
--- a/src/citra_qt/configure_debug.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2016 Citra Emulator Project
-// Licensed under GPLv2 or any later version
-// Refer to the license.txt file included.
-
-#include "citra_qt/configure_debug.h"
-#include "core/settings.h"
-#include "ui_configure_debug.h"
-
-ConfigureDebug::ConfigureDebug(QWidget* parent) : QWidget(parent), ui(new Ui::ConfigureDebug) {
- ui->setupUi(this);
- this->setConfiguration();
-}
-
-ConfigureDebug::~ConfigureDebug() {}
-
-void ConfigureDebug::setConfiguration() {
- ui->toggle_gdbstub->setChecked(Settings::values.use_gdbstub);
- ui->gdbport_spinbox->setEnabled(Settings::values.use_gdbstub);
- ui->gdbport_spinbox->setValue(Settings::values.gdbstub_port);
-}
-
-void ConfigureDebug::applyConfiguration() {
- Settings::values.use_gdbstub = ui->toggle_gdbstub->isChecked();
- Settings::values.gdbstub_port = ui->gdbport_spinbox->value();
- Settings::Apply();
-}