We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a90eff1 commit 061247eCopy full SHA for 061247e
src/QtAdvancedStylesheet.cpp
@@ -406,7 +406,7 @@ void QtAdvancedStylesheetPrivate::replaceStylesheetVariables(QString& Content)
406
QString MatchString = match.captured();
407
// Use only the value inside of the brackets {{ }} without the brackets
408
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
409
- auto TemplateVariable = QStringView(MatchString).mid(2, MatchString.size() - 4);
+ auto TemplateVariable = MatchString.midRef(2, MatchString.size() - 4);
410
#else
411
auto TemplateVariable = QStringView(MatchString).sliced(2, MatchString.size() - 4);
412
#endif
0 commit comments