]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/places/placesitemmodel.cpp
Don't filter out duplicated entries from places panel
[dolphin.git] / src / panels / places / placesitemmodel.cpp
index 444ad29eaba6ad51290c8e03e3aba1ab03fa3494..3641b3e42a0e4c8cb9ced8d78f4526ef9b6a64f6 100644 (file)
@@ -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);