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
PIM
KAlarm
Commits
dc23a7b0
Commit
dc23a7b0
authored
Feb 19, 2020
by
Laurent Montel
😁
Browse files
make it compile against qt5.15
parent
af8dc1b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kadatetime.cpp
View file @
dc23a7b0
...
...
@@ -1842,16 +1842,17 @@ QString KADateTime::toString(TimeFormat format) const
result
+=
QLatin1Char
(
' '
);
break
;
case
LocalDate
:
case
LocalDate
:
{
QLocale
l
;
if
(
d
->
dateOnly
())
result
=
d
->
date
()
.
toString
(
Qt
::
System
LocaleShort
D
at
e
);
result
=
l
.
toString
(
d
->
date
(),
Q
Locale
::
Short
Form
at
);
else
result
=
d
->
dt
()
.
toString
(
Qt
::
System
LocaleShort
D
at
e
);
result
=
l
.
toString
(
d
->
dt
(),
Q
Locale
::
Short
Form
at
);
if
(
result
.
isEmpty
()
||
d
->
specType
==
LocalZone
)
return
result
;
result
+=
QLatin1Char
(
' '
);
break
;
}
default:
return
result
;
}
...
...
Write
Preview
Supports
Markdown
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