use qt's OS macros

This commit is contained in:
itsmattkc
2019-03-24 18:44:03 +11:00
parent 5ba910efe6
commit be01bdd6f9
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ void load_frei0r_effects() {
QList<QString> effect_dirs = get_effects_paths();
// add defined paths for frei0r plugins on unix
#if defined(__APPLE__) || defined(__linux__) || defined(__HAIKU__)
#if defined(Q_OS_MACOS) || defined(Q_OS_LINUX) || defined(__HAIKU__)
effect_dirs.prepend("/usr/lib/frei0r-1");
effect_dirs.prepend("/usr/local/lib/frei0r-1");
effect_dirs.prepend(QDir::homePath() + "/.frei0r-1/lib");