From 7550ef029988626ba6249f1de90e2a42e7a9f632 Mon Sep 17 00:00:00 2001 From: Emmanuel Pescosta Date: Mon, 27 Apr 2015 14:16:45 +0200 Subject: [PATCH] Use user-places.xbel instead of bookmarks.xml in places model. REVIEW: 123526 CCBUG: 345174 FIXED-IN: 15.08.0 --- src/panels/places/placesitemmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.47.3