Use user-places.xbel instead of bookmarks.xml in places model.

REVIEW: 123526
CCBUG: 345174
FIXED-IN: 15.08.0
This commit is contained in:
Emmanuel Pescosta 2015-04-27 14:16:45 +02:00
parent 06f2cd58b8
commit 7550ef0299

View file

@ -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();