From eade3a4a3de22afe5498618799307000e3445c84 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 8 Oct 2010 19:32:55 +0000 Subject: [PATCH] - 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 --- src/views/dolphinmodel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.47.3