Commit fe6ab870 authored by Volker Krause's avatar Volker Krause
Browse files

Adapt to QLocale::percent() returning a QString in Qt 6

parent bc2c014f
Pipeline #261113 passed with stage
in 4 minutes
......@@ -64,7 +64,11 @@ void Slider::setValueLabel(QLabel* label, const QString& format, bool hideIfDisa
mValueFormat.insert(++i, QLatin1Char('L'));
continue;
}
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
mValueFormat[i] = QLocale().percent();
#else
mValueFormat.replace(i, 1, QLocale().percent());
#endif
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment