summaryrefslogtreecommitdiffstats
path: root/src/citra_qt
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-09-01 04:12:20 +0200
committerbunnei <bunneidev@gmail.com>2016-09-01 04:12:20 +0200
commita71013cf16668a8d781a890823b6f6f203b865e9 (patch)
tree8d8cae02b3a9d76e454bf66887abbcfa11618423 /src/citra_qt
parentqt: Add an option to settings for enabling V-Sync. (diff)
downloadyuzu-a71013cf16668a8d781a890823b6f6f203b865e9.tar
yuzu-a71013cf16668a8d781a890823b6f6f203b865e9.tar.gz
yuzu-a71013cf16668a8d781a890823b6f6f203b865e9.tar.bz2
yuzu-a71013cf16668a8d781a890823b6f6f203b865e9.tar.lz
yuzu-a71013cf16668a8d781a890823b6f6f203b865e9.tar.xz
yuzu-a71013cf16668a8d781a890823b6f6f203b865e9.tar.zst
yuzu-a71013cf16668a8d781a890823b6f6f203b865e9.zip
Diffstat (limited to 'src/citra_qt')
-rw-r--r--src/citra_qt/configure_debug.cpp4
-rw-r--r--src/citra_qt/configure_debug.ui4
-rw-r--r--src/citra_qt/configure_general.cpp8
-rw-r--r--src/citra_qt/configure_general.ui4
-rw-r--r--src/citra_qt/configure_graphics.cpp18
-rw-r--r--src/citra_qt/configure_graphics.ui10
6 files changed, 24 insertions, 24 deletions
diff --git a/src/citra_qt/configure_debug.cpp b/src/citra_qt/configure_debug.cpp
index dc3d7b906..fa57a7f72 100644
--- a/src/citra_qt/configure_debug.cpp
+++ b/src/citra_qt/configure_debug.cpp
@@ -19,13 +19,13 @@ ConfigureDebug::~ConfigureDebug() {
}
void ConfigureDebug::setConfiguration() {
- ui->toogle_gdbstub->setChecked(Settings::values.use_gdbstub);
+ 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->toogle_gdbstub->isChecked();
+ Settings::values.use_gdbstub = ui->toggle_gdbstub->isChecked();
Settings::values.gdbstub_port = ui->gdbport_spinbox->value();
Settings::Apply();
}
diff --git a/src/citra_qt/configure_debug.ui b/src/citra_qt/configure_debug.ui
index 3ba7f44da..bbbb0e3f4 100644
--- a/src/citra_qt/configure_debug.ui
+++ b/src/citra_qt/configure_debug.ui
@@ -25,7 +25,7 @@
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
- <widget class="QCheckBox" name="toogle_gdbstub">
+ <widget class="QCheckBox" name="toggle_gdbstub">
<property name="text">
<string>Enable GDB Stub</string>
</property>
@@ -83,7 +83,7 @@
<resources/>
<connections>
<connection>
- <sender>toogle_gdbstub</sender>
+ <sender>toggle_gdbstub</sender>
<signal>toggled(bool)</signal>
<receiver>gdbport_spinbox</receiver>
<slot>setEnabled(bool)</slot>
diff --git a/src/citra_qt/configure_general.cpp b/src/citra_qt/configure_general.cpp
index 3e7a91885..95aab9f2e 100644
--- a/src/citra_qt/configure_general.cpp
+++ b/src/citra_qt/configure_general.cpp
@@ -20,14 +20,14 @@ ConfigureGeneral::~ConfigureGeneral() {
}
void ConfigureGeneral::setConfiguration() {
- ui->toogle_deepscan->setChecked(UISettings::values.gamedir_deepscan);
- ui->toogle_check_exit->setChecked(UISettings::values.confirm_before_closing);
+ ui->toggle_deepscan->setChecked(UISettings::values.gamedir_deepscan);
+ ui->toggle_check_exit->setChecked(UISettings::values.confirm_before_closing);
ui->region_combobox->setCurrentIndex(Settings::values.region_value);
}
void ConfigureGeneral::applyConfiguration() {
- UISettings::values.gamedir_deepscan = ui->toogle_deepscan->isChecked();
- UISettings::values.confirm_before_closing = ui->toogle_check_exit->isChecked();
+ UISettings::values.gamedir_deepscan = ui->toggle_deepscan->isChecked();
+ UISettings::values.confirm_before_closing = ui->toggle_check_exit->isChecked();
Settings::values.region_value = ui->region_combobox->currentIndex();
Settings::Apply();
}
diff --git a/src/citra_qt/configure_general.ui b/src/citra_qt/configure_general.ui
index f993f7525..343f804c0 100644
--- a/src/citra_qt/configure_general.ui
+++ b/src/citra_qt/configure_general.ui
@@ -25,14 +25,14 @@
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
- <widget class="QCheckBox" name="toogle_deepscan">
+ <widget class="QCheckBox" name="toggle_deepscan">
<property name="text">
<string>Recursive scan for game folder</string>
</property>
</widget>
</item>
<item>
- <widget class="QCheckBox" name="toogle_check_exit">
+ <widget class="QCheckBox" name="toggle_check_exit">
<property name="text">
<string>Confirm exit while emulation is running</string>
</property>
diff --git a/src/citra_qt/configure_graphics.cpp b/src/citra_qt/configure_graphics.cpp
index 9c3ae1cbd..5a8101795 100644
--- a/src/citra_qt/configure_graphics.cpp
+++ b/src/citra_qt/configure_graphics.cpp
@@ -15,23 +15,23 @@ ConfigureGraphics::ConfigureGraphics(QWidget *parent) :
ui->setupUi(this);
this->setConfiguration();
- ui->toogle_vsync->setEnabled(!System::IsPoweredOn());
+ ui->toggle_vsync->setEnabled(!System::IsPoweredOn());
}
ConfigureGraphics::~ConfigureGraphics() {
}
void ConfigureGraphics::setConfiguration() {
- ui->toogle_hw_renderer->setChecked(Settings::values.use_hw_renderer);
- ui->toogle_shader_jit->setChecked(Settings::values.use_shader_jit);
- ui->toogle_scaled_resolution->setChecked(Settings::values.use_scaled_resolution);
- ui->toogle_vsync->setChecked(Settings::values.use_vsync);
+ ui->toggle_hw_renderer->setChecked(Settings::values.use_hw_renderer);
+ ui->toggle_shader_jit->setChecked(Settings::values.use_shader_jit);
+ ui->toggle_scaled_resolution->setChecked(Settings::values.use_scaled_resolution);
+ ui->toggle_vsync->setChecked(Settings::values.use_vsync);
}
void ConfigureGraphics::applyConfiguration() {
- Settings::values.use_hw_renderer = ui->toogle_hw_renderer->isChecked();
- Settings::values.use_shader_jit = ui->toogle_shader_jit->isChecked();
- Settings::values.use_scaled_resolution = ui->toogle_scaled_resolution->isChecked();
- Settings::values.use_vsync = ui->toogle_vsync->isChecked();
+ Settings::values.use_hw_renderer = ui->toggle_hw_renderer->isChecked();
+ Settings::values.use_shader_jit = ui->toggle_shader_jit->isChecked();
+ Settings::values.use_scaled_resolution = ui->toggle_scaled_resolution->isChecked();
+ Settings::values.use_vsync = ui->toggle_vsync->isChecked();
Settings::Apply();
}
diff --git a/src/citra_qt/configure_graphics.ui b/src/citra_qt/configure_graphics.ui
index e68d68c0e..da6e19ce1 100644
--- a/src/citra_qt/configure_graphics.ui
+++ b/src/citra_qt/configure_graphics.ui
@@ -23,28 +23,28 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
- <widget class="QCheckBox" name="toogle_hw_renderer">
+ <widget class="QCheckBox" name="toggle_hw_renderer">
<property name="text">
<string>Enable hardware renderer</string>
</property>
</widget>
</item>
<item>
- <widget class="QCheckBox" name="toogle_shader_jit">
+ <widget class="QCheckBox" name="toggle_shader_jit">
<property name="text">
<string>Enable shader JIT</string>
</property>
</widget>
</item>
<item>
- <widget class="QCheckBox" name="toogle_scaled_resolution">
+ <widget class="QCheckBox" name="toggle_scaled_resolution">
<property name="text">
<string>Enable scaled resolution</string>
</property>
</widget>
</item>
<item>
- <widget class="QCheckBox" name="toogle_vsync">
+ <widget class="QCheckBox" name="toggle_vsync">
<property name="text">
<string>Enable V-Sync</string>
</property>
@@ -73,7 +73,7 @@
<resources/>
<connections>
<connection>
- <sender>toogle_gdbstub</sender>
+ <sender>toggle_gdbstub</sender>
<signal>toggled(bool)</signal>
<receiver>gdbport_spinbox</receiver>
<slot>setEnabled(bool)</slot>