summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-06-22 12:54:23 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-06-23 11:05:35 +0200
commit5c787e03ef321f4dd2eda8e229978639ccfb70cc (patch)
tree755e50f9001b6254ab1beffba6f646d4eb013b95 /qmake
parent4325512a4459003c25db981e185412c81410754a (diff)
don't remove the path from the name of included files
it is not done for the top-level file, either. this is minimally behavior-incompatible, but anyone relying on the old behavior (and thus not using $$basename()) should be shot anyway. :) Reviewed-by: joerg
Diffstat (limited to 'qmake')
-rw-r--r--qmake/project.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 76cca00814..cb029234e2 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -1710,7 +1710,6 @@ QMakeProject::doProjectInclude(QString file, uchar flags, QMap<QString, QStringL
fprintf(stderr, "Cannot find directory: %s\n", file.left(di).toLatin1().constData());
return IncludeFailure;
}
- file = file.right(file.length() - di - 1);
}
bool parsed = false;
parser_info pi = parser;