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 e9278653bd..d55fb9909e 100644
--- a/qmake/cachekeys.h
+++ b/qmake/cachekeys.h
@@ -94,7 +94,7 @@ struct FileInfoCacheKey
return true;
const QChar c0 = file.at(0);
- const QChar c1 = length >= 2 ? file.at(1) : QChar(0);
+ const QChar c1 = length >= 2 ? file.at(1) : QChar::Null;
return !(c0 == QLatin1Char('/')
|| c0 == QLatin1Char('\\')
|| (c0.isLetter() && c1 == QLatin1Char(':'))