mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Merge branch 'release/19.12'
This commit is contained in:
commit
fa9bd6bed5
|
@ -588,11 +588,6 @@ void PlacesItemModel::onSourceModelDataChanged(const QModelIndex &topLeft, const
|
|||
}
|
||||
|
||||
if (placeItem && !m_sourceModel->isDevice(sourceIndex)) {
|
||||
placeItem->setText(bookmark.text());
|
||||
placeItem->setIcon(sourceIndex.data(KFilePlacesModel::IconNameRole).toString());
|
||||
placeItem->setUrl(m_sourceModel->url(sourceIndex));
|
||||
placeItem->bookmark().setMetaDataItem(QStringLiteral("OnlyInApp"),
|
||||
bookmark.metaDataItem(QStringLiteral("OnlyInApp")));
|
||||
// must update the bookmark object
|
||||
placeItem->setBookmark(bookmark);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue