aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-11 22:48:26 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-07-18 18:20:27 +0200
commit012f6ea6a4fa63d4e48e910f829e060c19cbcb1e (patch)
tree1090ca750d58456f689c8f2caf83b31a28bae4b0 /lib
parente7bf4f3e4fc059ef9ea0e0b253a1953a91fd77d8 (diff)
downloadlibquotient-012f6ea6a4fa63d4e48e910f829e060c19cbcb1e.tar.gz
libquotient-012f6ea6a4fa63d4e48e910f829e060c19cbcb1e.zip
Fix building with older Qt
Diffstat (limited to 'lib')
-rw-r--r--lib/resourceresolver.cpp2
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") };
}