summaryrefslogtreecommitdiffstats
path: root/qmake/project.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-01-09 20:20:00 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-27 10:54:48 +0100
commit365b5f7a9271e5fc503b10e6c17371d76643fc94 (patch)
tree67720d98f91a0abb46da07b9a677203f34d92f22 /qmake/project.cpp
parent259388157c3b9541dc24e2fcb08a404c29e9d19f (diff)
"cache" is used only locally, so move it into scope
Change-Id: I0ba45d5620a8e5a79fdc6a1854245a0bfcc489f0 Reviewed-by: Jonas Gastal <jgastal@profusion.mobi> Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r--qmake/project.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 308aba00b4..851534668b 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -1306,6 +1306,7 @@ QMakeProject::read(uchar cmd)
cache_depth = Option::output_dir.mid(abs_cache.length()).count('/');
}
if(!qmake_cache.isEmpty()) {
+ QHash<QString, QStringList> cache;
if(read(qmake_cache, cache)) {
Option::mkfile::cachefile_depth = cache_depth;
Option::mkfile::cachefile = qmake_cache;