File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 33#include " ConfigIO.h"
44#include " utils/Common.h"
55
6+ #define ENCLOSE_QUOTES (x ) " \" " + x + " \" "
7+
68#define DEFINE_KEY (name, defaultValue ) \
79 definitions[name] = QVariant(defaultValue);
810
@@ -33,9 +35,9 @@ AppConfig::AppConfig()
3335
3436 DEFINE_KEY (AeqPlotDarkMode, false );
3537
36- DEFINE_KEY (ConvolverDefaultPath, getPath (" irs" ));
37- DEFINE_KEY (VdcDefaultPath, getPath (" vdc" ));
38- DEFINE_KEY (LiveprogDefaultPath, getPath (" liveprog" ));
38+ DEFINE_KEY (ConvolverDefaultPath, ENCLOSE_QUOTES ( getPath (" irs" ) ));
39+ DEFINE_KEY (VdcDefaultPath, ENCLOSE_QUOTES ( getPath (" vdc" ) ));
40+ DEFINE_KEY (LiveprogDefaultPath, ENCLOSE_QUOTES ( getPath (" liveprog" ) ));
3941
4042 connect (this , &AppConfig::updated, this , &AppConfig::notify);
4143
You can’t perform that action at this time.
0 commit comments