From: Rafael Fernández López Date: Tue, 4 Dec 2007 01:23:05 +0000 (+0000) Subject: Makes sense that when sorting by permissions what we want to see first is the most... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/0fc7e4af53e6f97c42fbd9df43ba80ff185600fb Makes sense that when sorting by permissions what we want to see first is the most permissive groups, and the most restrictive groups at the end svn path=/trunk/KDE/kdebase/apps/; revision=744654 --- diff --git a/src/dolphinmodel.cpp b/src/dolphinmodel.cpp index 75cae0627..f541fe20c 100644 --- a/src/dolphinmodel.cpp +++ b/src/dolphinmodel.cpp @@ -272,7 +272,7 @@ QVariant DolphinModel::data(const QModelIndex &index, int role) const { QFileInfo info(item.url().pathOrUrl()); - retVariant = KDirSortFilterProxyModel::pointsForPermissions(info); + retVariant = -KDirSortFilterProxyModel::pointsForPermissions(info); break; }