mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
kcontrol: ensure that the resolution numbers are not localized in OutputGraphicsItem::configUpdated()
otherwise it looks as if it is currency or something like that (e.g. "1,920x1,080") and does not match the number that is shown in the combo box with available resolutions Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b634d6fd41
commit
b4498d8f43
1 changed files with 3 additions and 1 deletions
|
@ -72,7 +72,9 @@ void OutputGraphicsItem::configUpdated()
|
|||
m_text->setPlainText(
|
||||
i18nc(
|
||||
"Configuration options. Output name, width x height (refresh rate Hz)", "%1\n%2x%3 (%4 Hz)",
|
||||
m_config->output()->name(), m_config->rect().width(), m_config->rect().height(), refresh
|
||||
m_config->output()->name(),
|
||||
QString::number(m_config->rect().width()), QString::number(m_config->rect().height()),
|
||||
refresh
|
||||
)
|
||||
);
|
||||
// more accurate text centering
|
||||
|
|
Loading…
Add table
Reference in a new issue