From 9c2b206f0ab78b4809c29d54d841ff379cd8877d Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 26 May 2009 18:44:36 +0000 Subject: [PATCH] fixed issue reported by krazy svn path=/trunk/KDE/kdebase/apps/; revision=973284 --- src/dolphinmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dolphinmodel.cpp b/src/dolphinmodel.cpp index bb1fd36dd..e57aa90d8 100644 --- a/src/dolphinmodel.cpp +++ b/src/dolphinmodel.cpp @@ -411,7 +411,7 @@ QVariant DolphinModel::sortRoleData(const QModelIndex& index) const case KDirModel::Type: if (item.isDir()) - retVariant = QString(); // when sorting we want folders to be placed first + retVariant.clear(); // when sorting we want folders to be placed first else retVariant = item.mimeComment(); break; -- 2.47.3