diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-03 12:53:31 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-09 12:13:27 +0100 |
commit | 6325d311627a8288693331d16069fd16c5fac6c6 (patch) | |
tree | 8a8c31687035aa4895c9a3e85877544f3e8d71d7 /variant/default/main-window.hpp | |
parent | f5662b59896917512f0d4e5f1e853ba6c6b20d38 (diff) |
use consistent naming for `profile'
Diffstat (limited to 'variant/default/main-window.hpp')
-rw-r--r-- | variant/default/main-window.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/variant/default/main-window.hpp b/variant/default/main-window.hpp index 49dda590..9ffb7019 100644 --- a/variant/default/main-window.hpp +++ b/variant/default/main-window.hpp @@ -50,7 +50,7 @@ class main_window final : public QMainWindow, private State QTimer pose_update_timer { this }; QTimer det_timer; - QTimer config_list_timer; + QTimer profile_list_timer; Shortcuts global_shortcuts; QShortcut kbd_quit { QKeySequence("Ctrl+Q"), this }; @@ -122,13 +122,13 @@ class main_window final : public QMainWindow, private State void set_profile(const QString& new_name, bool migrate = true); void set_profile_in_registry(const QString& profile); void refresh_profile_list(); - void die_on_config_not_writable(); + void die_on_profile_not_writable(); void maybe_start_profile_from_executable(); - [[nodiscard]] static bool get_new_config_name_from_dialog(QString &ret); + [[nodiscard]] static bool profile_name_from_dialog(QString& ret); - void make_empty_config(); - void make_copied_config(); - void open_config_directory(); + void create_empty_profile(); + void create_copied_profile(); + void open_profile_directory(); void ensure_tray(); void toggle_restore_from_tray(QSystemTrayIcon::ActivationReason e); |