From f645e6b4b2053926bcea3f9ae6985a53b28caab1 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Fri, 28 Jan 2022 19:39:07 +0100 Subject: Store model as a DolphinPlacesModel Because that's what it is. It's a subclass anyway but saves us some casts in the future. --- src/dolphinplacesmodelsingleton.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dolphinplacesmodelsingleton.h') diff --git a/src/dolphinplacesmodelsingleton.h b/src/dolphinplacesmodelsingleton.h index 7efe6e093..84151fa8c 100644 --- a/src/dolphinplacesmodelsingleton.h +++ b/src/dolphinplacesmodelsingleton.h @@ -47,7 +47,7 @@ class DolphinPlacesModelSingleton public: 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: private: DolphinPlacesModelSingleton(); - QScopedPointer m_placesModel; + QScopedPointer m_placesModel; }; #endif // DOLPHINPLACESMODELSINGLETON_H -- cgit v1.3