┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Rojas <[email protected]>2018-04-29 19:41:29 +0200
committerAntonio Rojas <[email protected]>2018-04-29 19:41:29 +0200
commit05d389c56eb2b628c518b221d9ff8477227c64f0 (patch)
tree04d5ed61fabfa194db1d2abe6f7b5ea2cc72d42d
parent974b2499c410ac91e6ac5afc52ea6daba075a1cb (diff)
parent0c05b992c0dbfb2b0651344413310d0b860c2fa7 (diff)
Merge branch 'Applications/18.04'
-rw-r--r--src/panels/places/placesitemmodel.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp
index 1270d2473..7e313482d 100644
--- a/src/panels/places/placesitemmodel.cpp
+++ b/src/panels/places/placesitemmodel.cpp
@@ -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);