case DolphinModel::LocalPathOrUrl:
const KDirModel *dirModel = qobject_cast<const KDirModel*>(index.model());
const KFileItem item = dirModel->itemForIndex(index);
- return item.localPath();
- break;
+ return item.mostLocalUrl().directory();
}
break;