Try to fix "save as" crash:

svn path=/trunk/kdenlive/; revision=5994
parent 90892782
......@@ -1574,7 +1574,9 @@ void KdenliveDoc::updateProjectFolderPlacesEntry()
const QString file = KStandardDirs::locateLocal("data", "kfileplaces/bookmarks.xml");
KBookmarkManager *bookmarkManager = KBookmarkManager::managerForFile(file, "kfilePlaces");
if (!bookmarkManager) return;
KBookmarkGroup root = bookmarkManager->root();
KBookmark bookmark = root.first();
QString kdenliveName = KGlobal::mainComponent().componentName();
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment