summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2023-08-11 22:38:05 +0200
committerMarc Mutz <[email protected]>2023-08-16 16:25:48 +0200
commit3adf81f09f019199d7e5bb008196657c8a76e840 (patch)
treee65f14c75462bc9b1ff750831b37d9a1633497a9
parent91e70f239e166956c0db2d99cfb229c6b7d94598 (diff)
QFileSystemModel: remove incorrect ### Qt 7 comment
QTimeZone is not trivially-copyable, so we shouldn't default arguments of that type (cf. QTBUG-98117), but continue overloading. Found in API-review. Task-number: QTBUG-98117 Pick-to: 6.6 Change-Id: I24e9d6c10512a50c172b5722c7d75bf74adf60a6 Reviewed-by: Ahmad Samir <[email protected]> Reviewed-by: Edward Welbourne <[email protected]>
-rw-r--r--src/gui/itemmodels/qfilesystemmodel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/itemmodels/qfilesystemmodel.h b/src/gui/itemmodels/qfilesystemmodel.h
index d614ec23290..2aa81923c17 100644
--- a/src/gui/itemmodels/qfilesystemmodel.h
+++ b/src/gui/itemmodels/qfilesystemmodel.h
@@ -114,7 +114,6 @@ public:
qint64 size(const QModelIndex &index) const;
QString type(const QModelIndex &index) const;
- // ### Qt7 merge the two overloads, with tz QTimeZone::LocalTime
QDateTime lastModified(const QModelIndex &index) const;
QDateTime lastModified(const QModelIndex &index, const QTimeZone &tz) const;