From: Peter Penz Date: Tue, 26 May 2009 18:44:36 +0000 (+0000) Subject: fixed issue reported by krazy X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/9c2b206f0ab78b4809c29d54d841ff379cd8877d fixed issue reported by krazy svn path=/trunk/KDE/kdebase/apps/; revision=973284 --- 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;