--deprecated

svn path=/trunk/KDE/kdebase/apps/; revision=692471
This commit is contained in:
Peter Penz 2007-07-25 17:06:03 +00:00
parent 4661ece594
commit 7beab1ffb5

View file

@ -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() ?