Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Desktop
Commits
8fea7fda
Commit
8fea7fda
authored
Nov 10, 2017
by
Sebastian Kügler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui polish of formats kcm
Change Examples to description and 24 to 24.00 BUG:386637
parent
e17688b3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
kcms/formats/kcmformats.cpp
kcms/formats/kcmformats.cpp
+1
-1
kcms/formats/kcmformatswidget.ui
kcms/formats/kcmformatswidget.ui
+1
-1
No files found.
kcms/formats/kcmformats.cpp
View file @
8fea7fda
...
...
@@ -330,7 +330,7 @@ void KCMFormats::updateExample()
const
QString
numberExample
=
nloc
.
toString
(
1000.01
);
const
QString
timeExample
=
i18n
(
"%1 (long format)"
,
tloc
.
toString
(
QDateTime
::
currentDateTime
()))
+
QStringLiteral
(
"
\n
"
)
+
i18n
(
"%1 (short format)"
,
tloc
.
toString
(
QDateTime
::
currentDateTime
(),
QLocale
::
ShortFormat
));
const
QString
currencyExample
=
cloc
.
toCurrencyString
(
24
);
const
QString
currencyExample
=
cloc
.
toCurrencyString
(
24
.00
);
QString
measurementSetting
;
if
(
mloc
.
measurementSystem
()
==
QLocale
::
ImperialUKSystem
)
{
...
...
kcms/formats/kcmformatswidget.ui
View file @
8fea7fda
...
...
@@ -235,7 +235,7 @@
<item
row=
"8"
column=
"0"
>
<widget
class=
"QLabel"
name=
"labelMeasurement_2"
>
<property
name=
"text"
>
<string>
<
b
>
Examples
<
/b
>
</string>
<string>
<
b
>
Description
<
/b
>
</string>
</property>
<property
name=
"alignment"
>
<set>
Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
</set>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment