diff options
-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") }; } |