Compare commits

...

1 Commits

Author SHA1 Message Date
Harald Sitter
ad314e9338 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
2015-05-04 20:44:45 +02:00

View File

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