]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Revert "Combine modificationtime, creationtime and accesstime roles into one group"
authorEugene Popov <popov895@ukr.net>
Tue, 26 Apr 2022 10:26:35 +0000 (13:26 +0300)
committerEugene Popov <popov895@ukr.net>
Tue, 26 Apr 2022 10:42:04 +0000 (13:42 +0300)
This reverts commit b6640f4a135dce194242644d9d0622c0964e8f1d.

src/kitemviews/kfileitemmodel.cpp

index 7929ad6363d82e2034e4fc584f839655d6fea301..64109167452ea759ac949fb475f1ae0c800196be 100644 (file)
@@ -2610,13 +2610,13 @@ const KFileItemModel::RoleInfoMap* KFileItemModel::rolesInfoMap(int& count)
         { nullptr,               NoRole,                  KLazyLocalizedString(),                    KLazyLocalizedString(),                            false,           false },
         { "text",                NameRole,                kli18nc("@label", "Name"),                 KLazyLocalizedString(),                            false,           false },
         { "size",                SizeRole,                kli18nc("@label", "Size"),                 KLazyLocalizedString(),                            false,           false },
+        { "modificationtime",    ModificationTimeRole,    kli18nc("@label", "Modified"),             KLazyLocalizedString(),                            false,           false },
+        { "creationtime",        CreationTimeRole,        kli18nc("@label", "Created"),              KLazyLocalizedString(),                            false,           false },
+        { "accesstime",          AccessTimeRole,          kli18nc("@label", "Accessed"),             KLazyLocalizedString(),                            false,           false },
         { "type",                TypeRole,                kli18nc("@label", "Type"),                 KLazyLocalizedString(),                            false,           false },
         { "rating",              RatingRole,              kli18nc("@label", "Rating"),               KLazyLocalizedString(),                            true,            false },
         { "tags",                TagsRole,                kli18nc("@label", "Tags"),                 KLazyLocalizedString(),                            true,            false },
         { "comment",             CommentRole,             kli18nc("@label", "Comment"),              KLazyLocalizedString(),                            true,            false },
-        { "modificationtime",    ModificationTimeRole,    kli18nc("@label", "Modified"),             kli18nc("@label file date property", "Date"),      false,           false },
-        { "creationtime",        CreationTimeRole,        kli18nc("@label", "Created"),              kli18nc("@label file date property", "Date"),      false,           false },
-        { "accesstime",          AccessTimeRole,          kli18nc("@label", "Accessed"),             kli18nc("@label file date property", "Date"),      false,           false },
         { "title",               TitleRole,               kli18nc("@label", "Title"),                kli18nc("@label", "Document"),                     true,            true  },
         { "author",              AuthorRole,              kli18nc("@label", "Author"),               kli18nc("@label", "Document"),                     true,            true  },
         { "wordCount",           WordCountRole,           kli18nc("@label", "Word Count"),           kli18nc("@label", "Document"),                     true,            true  },