From 3e5fc1a3e88e5e46f976b47b3e2c7593b2eda688 Mon Sep 17 00:00:00 2001 From: manongjohn <19245851+manongjohn@users.noreply.github.com> Date: Sun, 26 Feb 2023 23:36:55 -0500 Subject: [PATCH] Fix autodetect thirdparty software for non-windows builds --- toonz/sources/toonzlib/thirdparty.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/toonz/sources/toonzlib/thirdparty.cpp b/toonz/sources/toonzlib/thirdparty.cpp index 7959012d..aaefe2bb 100644 --- a/toonz/sources/toonzlib/thirdparty.cpp +++ b/toonz/sources/toonzlib/thirdparty.cpp @@ -6,6 +6,7 @@ // TnzCore includes #include "tsystem.h" #include "tmsgcore.h" +#include "tenv.h" // QT includes #include @@ -267,8 +268,8 @@ QString autodetectRhubarb() { #ifndef _WIN32 folderList.append("/usr/local/bin"); - folderList.append(return "/usr/bin"); - folderList.append(return "/bin"); + folderList.append("/usr/bin"); + folderList.append("/bin"); #endif #ifdef _WIN32