diff options
Diffstat (limited to 'gui/options-dialog.cpp')
-rw-r--r-- | gui/options-dialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp index c6e6dd97..3f051c9f 100644 --- a/gui/options-dialog.cpp +++ b/gui/options-dialog.cpp @@ -147,7 +147,7 @@ void OptionsDialog::bind_key(key_opts& kopts, QLabel* label) d.close(); } }); - connect(main.b.get(), &options::detail::opt_bundle::reloading, &d, &QDialog::close); + connect(main.b.get(), &options::detail::bundle::reloading, &d, &QDialog::close); pause_keybindings(true); d.show(); d.exec(); @@ -160,7 +160,7 @@ void OptionsDialog::doOK() main.b->save(); ui.game_detector->save(); close(); - emit saving(); + emit closing(); } void OptionsDialog::doCancel() @@ -168,6 +168,7 @@ void OptionsDialog::doCancel() main.b->reload(); ui.game_detector->revert(); close(); + emit closing(); } void OptionsDialog::browse_datalogging_file() |