summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-29 13:36:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-29 13:36:20 +0200
commitd73a8a62c2d77b2abf3cb1fb53b7acee4863089f (patch)
tree1997006620842773e4a02bb31433cd8c927efb92 /gui
parent0eb4c01643c2cbfc59a7cd031ff7771592bbddf2 (diff)
gui/{options,main}: rename identifier only
Diffstat (limited to 'gui')
-rw-r--r--gui/options-dialog.cpp2
-rw-r--r--gui/options-dialog.hpp2
-rw-r--r--gui/ui.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp
index 188ebc0c..fb0b3454 100644
--- a/gui/options-dialog.cpp
+++ b/gui/options-dialog.cpp
@@ -152,7 +152,7 @@ void OptionsDialog::doOK()
main.b->save();
ui.game_detector->save();
close();
- emit reload();
+ emit saving();
}
void OptionsDialog::doCancel()
diff --git a/gui/options-dialog.hpp b/gui/options-dialog.hpp
index 6b04aa09..66386a79 100644
--- a/gui/options-dialog.hpp
+++ b/gui/options-dialog.hpp
@@ -10,7 +10,7 @@ class OptionsDialog: public QWidget
{
Q_OBJECT
signals:
- void reload();
+ void saving();
public:
OptionsDialog(std::function<void(bool)> pause_keybindings);
private:
diff --git a/gui/ui.cpp b/gui/ui.cpp
index 9e81d137..1c7e25e9 100644
--- a/gui/ui.cpp
+++ b/gui/ui.cpp
@@ -497,7 +497,7 @@ void MainWindow::show_options_dialog()
{
if (mk_window(&options_widget, [&](bool flag) -> void { set_keys_enabled(!flag); }))
{
- connect(options_widget.get(), SIGNAL(reload()), this, SLOT(reload_options()));
+ connect(options_widget.get(), &OptionsDialog::saving, this, &MainWindow::reload_options);
}
}