From: Peter Penz Date: Fri, 8 Oct 2010 19:32:55 +0000 (+0000) Subject: - Don't show the name of the file in the "Path" column X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/eade3a4a3de22afe5498618799307000e3445c84?ds=inline - Don't show the name of the file in the "Path" column - Also provide a path for non-local URLs svn path=/trunk/KDE/kdebase/apps/; revision=1183939 --- diff --git a/src/views/dolphinmodel.cpp b/src/views/dolphinmodel.cpp index 137274e0d..e0796cae4 100644 --- a/src/views/dolphinmodel.cpp +++ b/src/views/dolphinmodel.cpp @@ -104,8 +104,7 @@ QVariant DolphinModel::data(const QModelIndex& index, int role) const case DolphinModel::LocalPathOrUrl: const KDirModel *dirModel = qobject_cast(index.model()); const KFileItem item = dirModel->itemForIndex(index); - return item.localPath(); - break; + return item.url().directory(); } break;