Commit ad314e93 authored by Harald Sitter's avatar Harald Sitter

port places file path to new user-places.xbel

the legacy bookmarks.xml file is not supported anymore and will stop
syncing with the user-places.xbel starting with the upcoming kio and
kdelibs releases.

CCBUG: 347160
REVIEW: 123628
parent 83f17bbb
......@@ -1655,7 +1655,7 @@ void KdenliveDoc::updateProjectFolderPlacesEntry()
* http://websvn.kde.org/trunk/KDE/kdelibs/kfile/kfileplacesmodel.cpp?view=markup
*/
const QString file = KStandardDirs::locateLocal("data", "kfileplaces/bookmarks.xml");
const QString file = KStandardDirs().localxdgdatadir() + "user-places.xbel";
KBookmarkManager *bookmarkManager = KBookmarkManager::managerForFile(file, "kfilePlaces");
if (!bookmarkManager) return;
KBookmarkGroup root = bookmarkManager->root();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment