diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2020-05-06 11:08:00 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2020-05-12 07:43:48 +0200 |
commit | 1a8916cc4f55b70009a50e6fc69a49f32fc02720 (patch) | |
tree | 9ca1b9a7b63957e905afbff37e67c5396da4d4ab /qmake/cachekeys.h | |
parent | 23849826b490c07d9ba656bcb4ac46edd3040c0a (diff) |
qmake: fix a few deprecated QChar(non-char-type) warnings
The QChar ctors from non-char-types are going to be deprecated.
Change-Id: I17d7916fb1dac9889ead61daca846b1257d17312
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qmake/cachekeys.h')
-rw-r--r-- | qmake/cachekeys.h | 2 |
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(':')) |