Commit 3fc2a0a7e021dc9ccbd76af18f690c836caa7a18

Authored by Josh Klontz
1 parent 8b81c2d0

updated intialize argv type for consistency with Qt

openbr/openbr_plugin.cpp
@@ -1236,7 +1236,7 @@ bool br::Context::checkSDKPath(const QString &sdkPath) @@ -1236,7 +1236,7 @@ bool br::Context::checkSDKPath(const QString &sdkPath)
1236 // Since we can't ensure that it gets deleted last, we never delete it. 1236 // Since we can't ensure that it gets deleted last, we never delete it.
1237 static QCoreApplication *application = NULL; 1237 static QCoreApplication *application = NULL;
1238 1238
1239 -void br::Context::initialize(int &argc, char *argv[], QString sdkPath, bool useGui) 1239 +void br::Context::initialize(int &argc, char **argv, QString sdkPath, bool useGui)
1240 { 1240 {
1241 QString sep; 1241 QString sep;
1242 #ifndef _WIN32 1242 #ifndef _WIN32
openbr/openbr_plugin.h
@@ -540,7 +540,7 @@ public: @@ -540,7 +540,7 @@ public:
540 int timeRemaining() const; 540 int timeRemaining() const;
541 541
542 static bool checkSDKPath(const QString &sdkPath); 542 static bool checkSDKPath(const QString &sdkPath);
543 - static void initialize(int &argc, char *argv[], QString sdkPath = "", bool useGui = true); 543 + static void initialize(int &argc, char **argv, QString sdkPath = "", bool useGui = true);
544 static void finalize(); 544 static void finalize();
545 static QString about(); 545 static QString about();
546 static QString version(); 546 static QString version();