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
bff2ef93
Commit
bff2ef93
authored
Nov 11, 2021
by
Alexander Lohnau
💬
Browse files
Port away from deprecated QDateTime::.toTime_t method
parent
e3049432
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/panels/places/placesitem.cpp
View file @
bff2ef93
...
...
@@ -264,7 +264,7 @@ QString PlacesItem::generateNewId()
// " (V2)" to indicate that the ID has been generated by
// a new version of the places view.
static
int
count
=
0
;
return
QString
::
number
(
QDateTime
::
currentDateTimeUtc
().
to
Time_t
())
+
return
QString
::
number
(
QDateTime
::
currentDateTimeUtc
().
to
SecsSinceEpoch
())
+
'/'
+
QString
::
number
(
count
++
)
+
" (V2)"
;
}
...
...
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