mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Merge branch 'Applications/18.04'
This commit is contained in:
commit
05d389c56e
|
@ -397,10 +397,7 @@ void PlacesItemModel::addItemFromSourceModel(const QModelIndex &index)
|
|||
|
||||
const KBookmark bookmark = m_sourceModel->bookmarkForIndex(index);
|
||||
Q_ASSERT(!bookmark.isNull());
|
||||
PlacesItem *item = itemFromBookmark(bookmark);
|
||||
if (!item) {
|
||||
item = new PlacesItem(bookmark);
|
||||
}
|
||||
PlacesItem *item = new PlacesItem(bookmark);
|
||||
updateItem(item, index);
|
||||
insertSortedItem(item);
|
||||
|
||||
|
|
Loading…
Reference in a new issue