From f141cf61ab1515b8573f879287dd9b758059cf30 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 8 Nov 2010 16:13:10 +0000 Subject: Use KFileItem::mostLocalUrl() instead of KFileItem::url() for the "Path" column. This assures that a path is shown also for the nepomuksearch:/ protocol. svn path=/trunk/KDE/kdebase/apps/; revision=1194303 --- src/views/dolphinmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/views/dolphinmodel.cpp') diff --git a/src/views/dolphinmodel.cpp b/src/views/dolphinmodel.cpp index e0796cae4..5e62881a8 100644 --- a/src/views/dolphinmodel.cpp +++ b/src/views/dolphinmodel.cpp @@ -104,7 +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.url().directory(); + return item.mostLocalUrl().directory(); } break; -- cgit v1.3