Commit f645e6b4 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Store model as a DolphinPlacesModel

Because that's what it is. It's a subclass anyway but saves us some
casts in the future.
parent cd6664c5
......@@ -70,7 +70,7 @@ DolphinPlacesModelSingleton &DolphinPlacesModelSingleton::instance()
return s_self;
KFilePlacesModel *DolphinPlacesModelSingleton::placesModel() const
DolphinPlacesModel *DolphinPlacesModelSingleton::placesModel() const
......@@ -47,7 +47,7 @@ class DolphinPlacesModelSingleton
static DolphinPlacesModelSingleton& instance();
KFilePlacesModel *placesModel() const;
DolphinPlacesModel *placesModel() const;
/** A suffix to the application-name of the stored bookmarks is
added, which is only read by PlacesItemModel. */
static QString applicationNameSuffix();
......@@ -58,7 +58,7 @@ public:
QScopedPointer<KFilePlacesModel> m_placesModel;
QScopedPointer<DolphinPlacesModel> m_placesModel;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment