diff options
| author | Elvis Angelaccio <[email protected]> | 2018-10-04 22:52:51 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2018-10-04 22:52:51 +0200 |
| commit | 50f23e8b11ffeb3d1dabc36f0cc751aa454a0fd1 (patch) | |
| tree | a9fb0e8407583efb71200709b82a7a5979274c32 /src/panels/places/placesitemmodel.h | |
| parent | b663abc6c7f6583537db9a3da5ff665eaedb6749 (diff) | |
[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).
Diffstat (limited to 'src/panels/places/placesitemmodel.h')
| -rw-r--r-- | src/panels/places/placesitemmodel.h | 6 |
1 files changed, 0 insertions, 6 deletions
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); |
