diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-11 22:48:26 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-07-18 18:20:27 +0200 |
commit | 012f6ea6a4fa63d4e48e910f829e060c19cbcb1e (patch) | |
tree | 1090ca750d58456f689c8f2caf83b31a28bae4b0 /lib | |
parent | e7bf4f3e4fc059ef9ea0e0b253a1953a91fd77d8 (diff) | |
download | libquotient-012f6ea6a4fa63d4e48e910f829e060c19cbcb1e.tar.gz libquotient-012f6ea6a4fa63d4e48e910f829e060c19cbcb1e.zip |
Fix building with older Qt
Diffstat (limited to 'lib')
-rw-r--r-- | lib/resourceresolver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/resourceresolver.cpp b/lib/resourceresolver.cpp index f910d640..0d5c5a20 100644 --- a/lib/resourceresolver.cpp +++ b/lib/resourceresolver.cpp @@ -81,7 +81,7 @@ ResourceResolver::parseIdentifier(const QString& identifier) return { char(-1) }; const auto sigil = dissectedId.captured("sigil"); - return { sigil.size() != 1 ? char(-1) : sigil.front().toLatin1(), + return { sigil.size() != 1 ? char(-1) : sigil[0].toLatin1(), dissectedId.captured("main"), dissectedId.captured("sec") }; } |