Commit 869bc54d authored by Jure Repinc's avatar Jure Repinc
Browse files

Compile (KDateTime simplifications)

svn path=/trunk/KDE/kdebase/apps/; revision=692606
parent 935ba564
......@@ -120,9 +120,8 @@ bool DolphinSortFilterProxyModel::lessThanGeneralPurpose(const QModelIndex &left
return leftFileItem->isDir() && !rightFileItem->isDir();
case DolphinView::SortByDate: {
KDateTime leftTime, rightTime;
KDateTime leftTime = leftFileItem->time(KFileItem::ModificationTime);
KDateTime rightTime = rightFileItem->time(KFileItem::ModificationTime);
return leftTime > rightTime;
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