From 50f23e8b11ffeb3d1dabc36f0cc751aa454a0fd1 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Thu, 4 Oct 2018 22:52:51 +0200 Subject: [PlacesItemModel] Drop dead code m_bookmarkedItems is long gone (since commit da6f8fe0862585287153). Porting `showModelState()` to the new KFilePlacesModel source model is not worth it, since this was just a debugging function and most of the logic has been moved upstream anyway (see T7040). --- src/panels/places/placesitemmodel.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/panels/places/placesitemmodel.h') diff --git a/src/panels/places/placesitemmodel.h b/src/panels/places/placesitemmodel.h index a2086efc5..d31c029a6 100644 --- a/src/panels/places/placesitemmodel.h +++ b/src/panels/places/placesitemmodel.h @@ -36,8 +36,6 @@ class KBookmarkManager; class PlacesItem; class QAction; -// #define PLACESITEMMODEL_DEBUG - /** * @brief Model for maintaining the bookmarks of the places panel. * @@ -204,10 +202,6 @@ private: */ void insertSortedItem(PlacesItem* item); -#ifdef PLACESITEMMODEL_DEBUG - void showModelState(); -#endif - PlacesItem *itemFromBookmark(const KBookmark &bookmark) const; void addItemFromSourceModel(const QModelIndex &index); -- cgit v1.3