Commit 3fc2a0a7e021dc9ccbd76af18f690c836caa7a18
1 parent
8b81c2d0
updated intialize argv type for consistency with Qt
Showing
2 changed files
with
2 additions
and
2 deletions
openbr/openbr_plugin.cpp
| ... | ... | @@ -1236,7 +1236,7 @@ bool br::Context::checkSDKPath(const QString &sdkPath) |
| 1236 | 1236 | // Since we can't ensure that it gets deleted last, we never delete it. |
| 1237 | 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 | 1241 | QString sep; |
| 1242 | 1242 | #ifndef _WIN32 | ... | ... |
openbr/openbr_plugin.h
| ... | ... | @@ -540,7 +540,7 @@ public: |
| 540 | 540 | int timeRemaining() const; |
| 541 | 541 | |
| 542 | 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 | 544 | static void finalize(); |
| 545 | 545 | static QString about(); |
| 546 | 546 | static QString version(); | ... | ... |