Commit 53da2b109de037f0dfff945b8c8de8ce050317a2

Authored by Scott Klum
1 parent 33dd7d19

sdkPath now checks the binary directory, then the working directory

Showing 1 changed file with 1 additions and 1 deletions
openbr/openbr_plugin.cpp
@@ -1035,7 +1035,7 @@ void br::Context::initialize(int &argc, char *argv[], QString sdkPath, bool useG @@ -1035,7 +1035,7 @@ void br::Context::initialize(int &argc, char *argv[], QString sdkPath, bool useG
1035 1035
1036 // Search for SDK 1036 // Search for SDK
1037 if (sdkPath.isEmpty()) { 1037 if (sdkPath.isEmpty()) {
1038 - QStringList checkPaths; checkPaths << QDir::currentPath() << QCoreApplication::applicationDirPath(); 1038 + QStringList checkPaths; checkPaths << QCoreApplication::applicationDirPath() << QDir::currentPath();
1039 checkPaths << QString(getenv("PATH")).split(sep, QString::SkipEmptyParts); 1039 checkPaths << QString(getenv("PATH")).split(sep, QString::SkipEmptyParts);
1040 1040
1041 bool foundSDK = false; 1041 bool foundSDK = false;