Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 7a768f9f authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[OutputConfig] Locale-format refresh rate

Ensures proper decimal separator

Reviewed-By: sebas
parent 2c1303a0
......@@ -204,7 +204,7 @@ void OutputConfig::slotResolutionChanged(const QSize &size)
for (int i = 0; i < modes.count(); i++) {
const KScreen::ModePtr mode = modes.at(i);
mRefreshRate->addItem(i18n("%1 Hz", QString::fromLatin1("%1").arg(mode->refreshRate(), 0, 'f', 2)), mode->id());
mRefreshRate->addItem(i18n("%1 Hz", QLocale().toString(mode->refreshRate(), 'f', 2)), mode->id());
// If selected refresh rate is other then what we consider the "Auto" value
// - that is it's not the highest resolution - then select it, otherwise
......
Markdown is supported
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