summaryrefslogtreecommitdiff
path: root/fluid/Project.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-08-13 21:23:48 +0200
committerMatthias Melcher <github@matthiasm.com>2025-08-13 21:23:48 +0200
commitf05ee883595b910038e49963af6dbaba9081b49f (patch)
tree929b093a8c9286dacbd4f9a4ed15431ca0baa6cf /fluid/Project.h
parent679f89bb7aa60701704a74525e5bb4f4fe5a9ef6 (diff)
Fluid: Fix relative project paths in GUI mode #1293
Also fixes native "Save as... project file chooser to start with current project path.
Diffstat (limited to 'fluid/Project.h')
-rw-r--r--fluid/Project.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fluid/Project.h b/fluid/Project.h
index 065c7d383..d4d60daaa 100644
--- a/fluid/Project.h
+++ b/fluid/Project.h
@@ -104,7 +104,8 @@ public: // Methods
void enter_project_dir();
void leave_project_dir();
- void set_filename(const char *c);
+ void set_filename(std::nullptr_t);
+ void set_filename(const std::string &c);
void write_strings();
void set_modflag(int mf, int mfc = -1);