Bug 377254 - [Patch] Fix dvd wizard file loading
Summary: [Patch] Fix dvd wizard file loading
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: git-master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-05 19:33 UTC by Michael Vogt
Modified: 2017-03-05 20:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Proposed fix (2.02 KB, patch)
2017-03-05 19:33 UTC, Michael Vogt
Details

Note You need to log in before you can comment on or make changes to this bug.
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