From 25f4e77c1344114c5c3d02e4ffa135a480d36eab Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 20 May 2022 12:25:39 +0200 Subject: opentrack: implement preset installation --- opentrack/main-window.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'opentrack/main-window.hpp') diff --git a/opentrack/main-window.hpp b/opentrack/main-window.hpp index 43440ff8..ddb6b725 100644 --- a/opentrack/main-window.hpp +++ b/opentrack/main-window.hpp @@ -118,13 +118,14 @@ public: void restart_tracker_(); void toggle_tracker_(); - [[nodiscard]] bool maybe_create_profile(const QString& name); + [[nodiscard]] bool create_profile_from_preset(const QString& name); 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_profile_not_writable(); void maybe_start_profile_from_executable(); [[nodiscard]] static bool profile_name_from_dialog(QString& ret); + void copy_presets(); void create_empty_profile(); void create_copied_profile(); -- cgit v1.2.3