]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Makes sense that when sorting by permissions what we want to see first is the most...
authorRafael Fernández López <ereslibre@kde.org>
Tue, 4 Dec 2007 01:23:05 +0000 (01:23 +0000)
committerRafael Fernández López <ereslibre@kde.org>
Tue, 4 Dec 2007 01:23:05 +0000 (01:23 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=744654

src/dolphinmodel.cpp

index 75cae0627b622c398f9d24d28da448240d596a01..f541fe20c48b28da9b848626d832d5bb1e985148 100644 (file)
@@ -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;
         }