summaryrefslogtreecommitdiffstats
path: root/qmake/main.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-02-25 19:54:48 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-07 00:42:56 +0100
commit3f5633bc254cdaea7edf1cf1951a7c4c1ba2a487 (patch)
tree98166d24e0e55f4391f374ca2040ae59060165f8 /qmake/main.cpp
parent083c8ce840216ab412bd8d20d5f61a7e24a6d615 (diff)
remove some cryptic code relating to output directories
the purpose of it is truly elusive - the output directory is maintained by the surrounding code anyway. Change-Id: Id1a481d85a7b83ab0676ef650c900414d0ba83b3 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
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 5f9fb05449..e339239289 100644
--- a/qmake/main.cpp
+++ b/qmake/main.cpp
@@ -187,7 +187,7 @@ int runQMake(int argc, char **argv)
if (!success)
exit_val = 3;
- if(mkfile && !mkfile->write(oldpwd)) {
+ if (mkfile && !mkfile->write()) {
if(Option::qmake_mode == Option::QMAKE_GENERATE_PROJECT)
fprintf(stderr, "Unable to generate project file.\n");
else