Bug 377254

Summary: [Patch] Fix dvd wizard file loading
Product: [Applications] kdenlive Reporter: Michael Vogt <michael.vogt>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Proposed fix

Description Michael Vogt 2017-03-05 19:33:46 UTC
Created attachment 104384 [details]
Proposed fix

When using the dvd wizard under File/DVD Wizard and saving a project and loading it again some data related to files is not loaded correctly.

It turns out this happens because the slotSave() is using .toLocalFile() but in sloadLoad() its using plain QUrl() instead of QUrl::fromLocalFile().

The attached patch fixes the problem for me.
Comment 1 Jean-Baptiste Mardelle 2017-03-05 20:13:56 UTC
Git commit 76ceba16400109e991a43684f75ab91c76106749 by Jean-Baptiste Mardelle, on behalf of Michael Vogt.
Committed on 05/03/2017 at 20:13.
Pushed by mardelle into branch 'Applications/16.12'.

src/dvdwizard/dvdwizard.cpp: fix file loading in slotLoad

Files are stores in DvdWizard::slotSave() with .toLocalFile()
so we need to load them with QURL::fromLocalFile() so that they
are valid.

This fixes incorrect file loading in the dvd wizard.

M  +4    -4    src/dvdwizard/dvdwizard.cpp

https://commits.kde.org/kdenlive/76ceba16400109e991a43684f75ab91c76106749