diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-03 15:13:36 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-09 12:13:33 +0100 |
commit | e39a753236808603bc1e3530a7d6091eeeeacd39 (patch) | |
tree | 8c1f7963480bb29d49cf007935210d1e4f2842c9 /gui | |
parent | 5d554656d7f2392a0c98a4474641f997c7b47543 (diff) |
random nonsense only
Diffstat (limited to 'gui')
-rw-r--r-- | gui/settings.cpp | 2 | ||||
-rw-r--r-- | gui/settings.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/settings.cpp b/gui/settings.cpp index 711fb0f0..79a8dbfb 100644 --- a/gui/settings.cpp +++ b/gui/settings.cpp @@ -45,7 +45,7 @@ void options_dialog::set_disable_translation_state(bool value) }); } -options_dialog::options_dialog(std::function<void(bool)>&& pause_keybindings) : +options_dialog::options_dialog(std::function<void(bool)> pause_keybindings) : pause_keybindings(std::move(pause_keybindings)) { ui.setupUi(this); diff --git a/gui/settings.hpp b/gui/settings.hpp index 50245a59..8ef5aa2d 100644 --- a/gui/settings.hpp +++ b/gui/settings.hpp @@ -17,7 +17,7 @@ class OTR_GUI_EXPORT options_dialog : public QDialog signals: void closing(); public: - explicit options_dialog(std::function<void(bool)>&& pause_keybindings); + explicit options_dialog(std::function<void(bool)> pause_keybindings); private: main_settings main; std::function<void(bool)> pause_keybindings; |