diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-01-09 19:03:48 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-10 16:12:06 +0100 |
commit | f5bdf7583012ab3f82ff53a5af1ee77ced9e049c (patch) | |
tree | 5fba8882dc05e54f006b682eaecc380a304252bb /tools | |
parent | c42a969b2fecc117f0c77fded008cc1b4f897bb3 (diff) |
Don't use check as an identifier in the configure app.
Avoids conflict with macro on Mac OS.
Change-Id: I3426c2dc514240d80996d823b7a552c13a09f99e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/configure/configureapp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index bcc86cb697..56b08d4b37 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -985,8 +985,8 @@ void Configure::parseCmdLine() ++i; if (i == argCount) break; - QFileInfo check(configCmdLine.at(i)); - if (!check.isDir()) { + QFileInfo checkDirectory(configCmdLine.at(i)); + if (!checkDirectory.isDir()) { cout << "Argument passed to -L option is not a directory path. Did you mean the -l option?" << endl; dictionary[ "DONE" ] = "error"; break; |