}
case DolphinModel::LocalPathOrUrl:
- // TODO:
+ const KDirModel *dirModel = qobject_cast<const KDirModel*>(index.model());
+ const KFileItem item = dirModel->itemForIndex(index);
+ return item.localPath();
break;
}
break;
if ((orientation == Qt::Horizontal) && (role == Qt::DisplayRole)) {
switch (section) {
case DolphinModel::LinkDest:
- return i18nc("@title::column", "Destination");
+ return i18nc("@title::column", "Link Destination");
case DolphinModel::LocalPathOrUrl:
return i18nc("@title::column", "Path");
default: