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
Graphics
Okular
Commits
3e63353b
Commit
3e63353b
authored
Oct 30, 2019
by
Oliver Sander
Committed by
Ben Cooksley
Nov 03, 2019
Browse files
AnnotWindow: Always show creation time in local time
BUG: 413591
(cherry picked from commit
92b77032
)
parent
568f11b0
Changes
1
Show whitespace changes
Inline
Side-by-side
ui/annotwindow.cpp
View file @
3e63353b
...
@@ -163,7 +163,7 @@ public:
...
@@ -163,7 +163,7 @@ public:
void
setDate
(
const
QDateTime
&
dt
)
void
setDate
(
const
QDateTime
&
dt
)
{
{
dateLabel
->
setText
(
QLocale
().
toString
(
dt
,
QLocale
::
ShortFormat
)
+
QLatin1Char
(
' '
)
);
dateLabel
->
setText
(
QLocale
().
toString
(
dt
.
toTimeSpec
(
Qt
::
LocalTime
)
,
QLocale
::
ShortFormat
)
+
QLatin1Char
(
' '
)
);
}
}
void
setAuthor
(
const
QString
&
author
)
void
setAuthor
(
const
QString
&
author
)
...
...
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