diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-05-27 12:15:19 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-06-12 15:51:11 +0200 |
commit | 413a9f9bde60af2633c858435436891c8511385b (patch) | |
tree | 0161904d587c6da62da52706c4cc9f3ad779433f /src/corelib/io/qresource.cpp | |
parent | d6b74761342bd3cc317ba5cfbca138be087fea2e (diff) |
Port remaining usages of QStringRef in QtCore to QStringView
Task-number: QTBUG-84319
Change-Id: If77bc94c18e8d522b4577050091cd7d7aa941311
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qresource.cpp')
-rw-r--r-- | src/corelib/io/qresource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qresource.cpp b/src/corelib/io/qresource.cpp index dfaae20c34..9324261939 100644 --- a/src/corelib/io/qresource.cpp +++ b/src/corelib/io/qresource.cpp @@ -388,7 +388,7 @@ QResourcePrivate::ensureInitialized() const if(!that->absoluteFilePath.startsWith(QLatin1Char(':'))) that->absoluteFilePath.prepend(QLatin1Char(':')); - QStringRef path(&fileName); + QStringView path(fileName); if(path.startsWith(QLatin1Char(':'))) path = path.mid(1); |