summaryrefslogtreecommitdiffstats
path: root/qmake/cachekeys.h
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/cachekeys.h')
-rw-r--r--qmake/cachekeys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/cachekeys.h b/qmake/cachekeys.h
index ffe40fb783..d364912ee5 100644
--- a/qmake/cachekeys.h
+++ b/qmake/cachekeys.h
@@ -65,7 +65,7 @@ struct FileInfoCacheKey
return hash;
}
inline bool isRelativePath(const QString &file) {
- int length = file.length();
+ int length = file.size();
if (!length)
return true;