diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-29 13:05:30 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-29 13:18:32 +0200 |
commit | 6482a7e2582867d51c19bb12d513bc52dde2cc66 (patch) | |
tree | 51f02c20e6601404330c9ea7610ce044dfbbac74 /gui/ui.h | |
parent | 2dd8064c20d88c26a11240c6a871f670b5109d71 (diff) |
compat/options: separate module dll names from rest of settings
The other settings are modified by the options dialog. These are in the
main ui. We need to be able to save modules without saving the options
dialog.
Diffstat (limited to 'gui/ui.h')
-rw-r--r-- | gui/ui.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -72,6 +72,7 @@ class MainWindow : public QMainWindow, private State void changeEvent(QEvent* e) override; void load_settings(); + void load_mappings(); void updateButtonState(bool running, bool inertialp); void display_pose(const double* mapped, const double* raw); void ensure_tray(); @@ -79,8 +80,9 @@ class MainWindow : public QMainWindow, private State static bool get_new_config_name_from_dialog(QString &ret); void set_profile(const QString& profile); void register_shortcuts(); + void set_keys_enabled(bool flag); private slots: - void save(); + void save_modules(); void exit(); void profile_selected(const QString& name); @@ -113,8 +115,6 @@ signals: public: MainWindow(); ~MainWindow(); - void save_mappings(); - void load_mappings(); static void set_working_directory(); - void set_keys_enabled(bool flag); + static void warn_on_config_not_writable(); }; |