mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
--deprecated
svn path=/trunk/KDE/kdebase/apps/; revision=692471
This commit is contained in:
parent
4661ece594
commit
7beab1ffb5
1 changed files with 4 additions and 4 deletions
|
@ -137,8 +137,8 @@ bool DolphinSortFilterProxyModel::lessThanGeneralPurpose(const QModelIndex &left
|
|||
|
||||
case DolphinView::SortByDate: {
|
||||
KDateTime leftTime, rightTime;
|
||||
leftTime.setTime_t(leftFileItem->time(KIO::UDSEntry::UDS_MODIFICATION_TIME));
|
||||
rightTime.setTime_t(rightFileItem->time(KIO::UDSEntry::UDS_MODIFICATION_TIME));
|
||||
leftTime.setTime_t(leftFileItem->time(KFileItem::ModificationTime));
|
||||
rightTime.setTime_t(rightFileItem->time(KFileItem::ModificationTime));
|
||||
return leftTime > rightTime;
|
||||
}
|
||||
|
||||
|
@ -281,8 +281,8 @@ bool DolphinSortFilterProxyModel::lessThan(const QModelIndex& left,
|
|||
|
||||
case DolphinView::SortByDate: {
|
||||
KDateTime leftTime, rightTime;
|
||||
leftTime.setTime_t(leftFileItem->time(KIO::UDSEntry::UDS_MODIFICATION_TIME));
|
||||
rightTime.setTime_t(rightFileItem->time(KIO::UDSEntry::UDS_MODIFICATION_TIME));
|
||||
leftTime.setTime_t(leftFileItem->time(KFileItem::ModificationTime));
|
||||
rightTime.setTime_t(rightFileItem->time(KFileItem::ModificationTime));
|
||||
|
||||
if (leftTime == rightTime) {
|
||||
return sortCaseSensitivity() ?
|
||||
|
|
Loading…
Reference in a new issue