From 0fc7e4af53e6f97c42fbd9df43ba80ff185600fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Tue, 4 Dec 2007 01:23:05 +0000 Subject: [PATCH] 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 --- src/dolphinmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3