From 012f6ea6a4fa63d4e48e910f829e060c19cbcb1e Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 11 Jun 2020 22:48:26 +0200 Subject: Fix building with older Qt --- lib/resourceresolver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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") }; } -- cgit v1.2.3