summaryrefslogtreecommitdiffstats
path: root/qmake/main.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-15 18:26:07 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-26 13:29:15 (GMT)
commit4c097589a30a6062e5e2a011a5cc11422352def9 (patch)
tree53778528168184d50637325f09bb55804b4bdb79 /qmake/main.cpp
parent6b3502bb096a35e6bd882fb505f98e3e64e9be30 (diff)
downloadQt-4c097589a30a6062e5e2a011a5cc11422352def9.zip
Qt-4c097589a30a6062e5e2a011a5cc11422352def9.tar.gz
Qt-4c097589a30a6062e5e2a011a5cc11422352def9.tar.bz2
use QDir::separator() instead of Option::dir_sep where appropriate
in these cases, the separator depends on the *real* host platform, not on the one that will host the build. there are many more cases like that, but that's for (much) later ... Reviewed-by: mariusSO
Diffstat (limited to 'qmake/main.cpp')
-rw-r--r--qmake/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/main.cpp b/qmake/main.cpp
index 50f9272..42679a2 100644
--- a/qmake/main.cpp
+++ b/qmake/main.cpp
@@ -149,7 +149,7 @@ int runQMake(int argc, char **argv)
//setup pwd properly
debug_msg(1, "Resetting dir to: %s", oldpwd.toLatin1().constData());
qmake_setpwd(oldpwd); //reset the old pwd
- int di = fn.lastIndexOf(Option::dir_sep);
+ int di = fn.lastIndexOf(QDir::separator());
if(di != -1) {
debug_msg(1, "Changing dir to: %s", fn.left(di).toLatin1().constData());
if(!qmake_setpwd(fn.left(di)))