┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places/placesitemmodel.h
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <[email protected]>2017-12-14 12:35:44 -0300
committerRenato Araujo Oliveira Filho <[email protected]>2018-01-26 11:07:59 -0300
commit3bf68fd71492f02bffb6cf040e9471c5e997180e (patch)
treeca38766a077c5dc4677b57a2571e7009f94f3f1f /src/panels/places/placesitemmodel.h
parentea6a2424fb454eafb80a731e5fdce4e4a50cb606 (diff)
Make sure that old URLs do not appear duplicated in places model
Summary: BUG: 389401 KIO model now provides Baloo URLs; we need to remove the old ones created by Dolphin places model BUG: 387888 Depends on D9332 Test Plan: unit test Reviewers: mwolff, #dolphin, ngraham, elvisangelaccio Reviewed By: #dolphin, ngraham, elvisangelaccio Subscribers: elvisangelaccio, broulik, ervin, ngraham, #dolphin Differential Revision: https://phabricator.kde.org/D9333
Diffstat (limited to 'src/panels/places/placesitemmodel.h')
-rw-r--r--src/panels/places/placesitemmodel.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/panels/places/placesitemmodel.h b/src/panels/places/placesitemmodel.h
index c8830ee6f..a1b23b220 100644
--- a/src/panels/places/placesitemmodel.h
+++ b/src/panels/places/placesitemmodel.h
@@ -168,17 +168,16 @@ private slots:
private:
/**
- * Loads the bookmarks from the bookmark-manager and creates items for
- * the model or moves hidden items to m_bookmarkedItems.
+ * Remove bookmarks created by the previous version of dolphin that are
+ * not valid anymore
*/
- void loadBookmarks();
+ void cleanupBookmarks();
/**
- * @return True, if the bookmark can be accepted in the context of the
- * current application (e.g. bookmarks from other applications
- * will be ignored).
+ * Loads the bookmarks from the bookmark-manager and creates items for
+ * the model or moves hidden items to m_bookmarkedItems.
*/
- bool acceptBookmark(const KBookmark& bookmark) const;
+ void loadBookmarks();
QString internalMimeType() const;