┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2015-04-27 14:16:45 +0200
committerEmmanuel Pescosta <[email protected]>2015-04-29 15:39:49 +0200
commit7550ef029988626ba6249f1de90e2a42e7a9f632 (patch)
treee2444c7ca492cffa039a2be4ab18b5837b467267
parent06f2cd58b8be14b1098bcf06cf9bb97c7c79d46c (diff)
Use user-places.xbel instead of bookmarks.xml in places model.
REVIEW: 123526 CCBUG: 345174 FIXED-IN: 15.08.0
-rw-r--r--src/panels/places/placesitemmodel.cpp4
1 files 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();