From: Emmanuel Pescosta Date: Mon, 27 Apr 2015 12:16:45 +0000 (+0200) Subject: Use user-places.xbel instead of bookmarks.xml in places model. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/7550ef029988626ba6249f1de90e2a42e7a9f632 Use user-places.xbel instead of bookmarks.xml in places model. REVIEW: 123526 CCBUG: 345174 FIXED-IN: 15.08.0 --- diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp index bc7c2b7d3..f3d344963 100644 --- a/src/panels/places/placesitemmodel.cpp +++ b/src/panels/places/placesitemmodel.cpp @@ -85,8 +85,8 @@ PlacesItemModel::PlacesItemModel(QObject* parent) : Baloo::IndexerConfig config; m_fileIndexingEnabled = config.fileIndexingEnabled(); #endif - const QString file = QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kfileplaces/bookmarks.xml"); - m_bookmarkManager = KBookmarkManager::managerForFile(file, "kfilePlaces"); + const QString file = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/user-places.xbel"; + m_bookmarkManager = KBookmarkManager::managerForExternalFile(file); createSystemBookmarks(); initializeAvailableDevices();