Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
Dolphin
Commits
851b356f
Commit
851b356f
authored
Jan 31, 2022
by
Méven Car
Browse files
Dimension role: use × instead of x
parent
ca35c71f
Pipeline
#131354
passed with stage
in 4 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kitemviews/kfileitemlistwidget.cpp
View file @
851b356f
...
...
@@ -97,7 +97,7 @@ QString KFileItemListWidgetInformant::roleText(const QByteArray& role,
}
else
if
(
role
==
"dimensions"
)
{
const
auto
dimensions
=
roleValue
.
toSize
();
if
(
dimensions
.
isValid
())
{
text
=
i18nc
(
"width
x
height"
,
"%1
x
%2"
,
dimensions
.
width
(),
dimensions
.
height
());
text
=
i18nc
(
"width
×
height"
,
"%1
×
%2"
,
dimensions
.
width
(),
dimensions
.
height
());
}
}
else
{
text
=
KStandardItemListWidgetInformant
::
roleText
(
role
,
values
);
...
...
Méven Car
@meven
mentioned in merge request
!337 (closed)
·
Jan 31, 2022
mentioned in merge request
!337 (closed)
mentioned in merge request !337
Toggle commit list
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