Commit 5205fc50 authored by Peter Penz's avatar Peter Penz
Browse files

--deprecated

svn path=/trunk/KDE/kdebase/apps/; revision=692471
parent 7714fe66
......@@ -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() ?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment