From f5bdf7583012ab3f82ff53a5af1ee77ced9e049c Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 9 Jan 2012 19:03:48 +0100 Subject: 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 --- tools/configure/configureapp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/configure') 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; -- cgit v1.2.3