changeset 30 | 5dc02b23752f |
parent 18 | 2f34d5167611 |
--- a/qmake/main.cpp Wed Jun 23 19:07:03 2010 +0300 +++ b/qmake/main.cpp Tue Jul 06 15:10:48 2010 +0300 @@ -149,7 +149,7 @@ //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)))