Comment 25 for bug 1422469

Revision history for this message
In , Emmanuelpescosta099 (emmanuelpescosta099) wrote :

Ah ok, the xbel file comes from the freedesktop specification: http://freedesktop.org/wiki/Specifications/desktop-bookmark-spec/

@Marco:
Is it possible to move away from bookmarks.xml to user-places.xbel only? So that we can avoid the syncing.

The following code moves Dolphin to user-places.xbel (fixes the problem of disappearing places):
const QString file = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/user-places.xbel";
m_bookmarkManager = KBookmarkManager::managerForExternalFile(file);