diff options
| author | Peter Penz <[email protected]> | 2010-11-08 16:13:10 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-11-08 16:13:10 +0000 |
| commit | f141cf61ab1515b8573f879287dd9b758059cf30 (patch) | |
| tree | 55e25b75540969322fcd21129a1377189e29616a /src/views | |
| parent | aec3493935671100f9321d0b061e34f279854f6e (diff) | |
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
Diffstat (limited to 'src/views')
| -rw-r--r-- | src/views/dolphinmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<const KDirModel*>(index.model()); const KFileItem item = dirModel->itemForIndex(index); - return item.url().directory(); + return item.mostLocalUrl().directory(); } break; |
