OSDN Git Service
(root)
/
kde
/
kde-extraapps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47e9255
)
kfilemetadata: replace use of deprecated Qt::DateFormat enums
author
Ivailo Monev
<xakepa10@laimg.moc>
Mon, 24 Feb 2020 18:42:24 +0000
(18:42 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Mon, 24 Feb 2020 18:42:24 +0000
(18:42 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
kfilemetadata/src/extractorplugin.cpp
patch
|
blob
|
history
diff --git
a/kfilemetadata/src/extractorplugin.cpp
b/kfilemetadata/src/extractorplugin.cpp
index
32eac09
..
7980abf
100644
(file)
--- a/
kfilemetadata/src/extractorplugin.cpp
+++ b/
kfilemetadata/src/extractorplugin.cpp
@@
-97,7
+97,7
@@
QDateTime ExtractorPlugin::dateTimeFromString(const QString& dateString)
dateTime.setTimeSpec(Qt::LocalTime);
}
if (!dateTime.isValid()) {
- dateTime = QDateTime::fromString(dateString, Qt::SystemLocaleDate);
+ dateTime = QDateTime::fromString(dateString, Qt::SystemLocale
Short
Date);
dateTime.setTimeSpec(Qt::UTC);
}
if (!dateTime.isValid()) {