added environment variable for effects path

This commit is contained in:
itsmattkc
2018-12-23 09:22:43 +11:00
parent 692b9bc40d
commit 5bb579e9d1
+2
View File
@@ -8,6 +8,8 @@
QString real_app_dir;
QString get_effects_dir() {
QString env_path(qgetenv("OLIVE_EFFECTS_PATH"));
if (!env_path.isEmpty()) return env_path;
return get_app_dir() + "/effects";
}