summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gui/options-dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp
index 9eb8fc12..dd5ddb2a 100644
--- a/gui/options-dialog.cpp
+++ b/gui/options-dialog.cpp
@@ -145,7 +145,7 @@ OptionsDialog::OptionsDialog(std::function<void(bool)> pause_keybindings) :
void OptionsDialog::closeEvent(QCloseEvent *)
{
- done(int(result()));
+ done(result());
}
void OptionsDialog::bind_key(key_opts& kopts, QLabel* label)