We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8491e7b commit 44b5726Copy full SHA for 44b5726
1 file changed
src/config/AppConfig.cpp
@@ -3,6 +3,8 @@
3
#include "ConfigIO.h"
4
#include "utils/Common.h"
5
6
+#define ENCLOSE_QUOTES(x) "\"" + x + "\""
7
+
8
#define DEFINE_KEY(name, defaultValue) \
9
definitions[name] = QVariant(defaultValue);
10
@@ -33,9 +35,9 @@ AppConfig::AppConfig()
33
35
34
36
DEFINE_KEY(AeqPlotDarkMode, false);
37
- DEFINE_KEY(ConvolverDefaultPath, getPath("irs"));
- DEFINE_KEY(VdcDefaultPath, getPath("vdc"));
38
- DEFINE_KEY(LiveprogDefaultPath, getPath("liveprog"));
+ DEFINE_KEY(ConvolverDefaultPath, ENCLOSE_QUOTES(getPath("irs")));
39
+ DEFINE_KEY(VdcDefaultPath, ENCLOSE_QUOTES(getPath("vdc")));
40
+ DEFINE_KEY(LiveprogDefaultPath, ENCLOSE_QUOTES(getPath("liveprog")));
41
42
connect(this, &AppConfig::updated, this, &AppConfig::notify);
43
0 commit comments