┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-10-08 19:32:55 +0000
committerPeter Penz <[email protected]>2010-10-08 19:32:55 +0000
commiteade3a4a3de22afe5498618799307000e3445c84 (patch)
tree18423acb3f28d45bbf2fe52eaf73e14ca5c36988 /src
parentf955ee200da38d80be4833d8b421221874896ca1 (diff)
- 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
Diffstat (limited to 'src')
-rw-r--r--src/views/dolphinmodel.cpp3
1 files changed, 1 insertions, 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<const KDirModel*>(index.model());
const KFileItem item = dirModel->itemForIndex(index);
- return item.localPath();
- break;
+ return item.url().directory();
}
break;