Fix "QFSFileEngine::open: No file name specified" warning
ClosedPublic

Authored by dfaure on Jul 4 2019, 7:11 PM.

Details

Summary

The transition repository returns an empty string in
assetPreferredListPath(), which QFile doesn't really like.

Test Plan

Builds

Diff Detail

Repository
R158 Kdenlive
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfaure requested review of this revision.Jul 4 2019, 7:11 PM
dfaure created this revision.
pino added a subscriber: pino.Jul 4 2019, 7:35 PM
pino added inline comments.
src/assets/abstractassetsrepository.ipp
45

unneeded change

48

ditto

dfaure added inline comments.Jul 4 2019, 9:40 PM
src/assets/abstractassetsrepository.ipp
45

Unrelated, possibly, but not unneeded. Clearly this class was abstracted from what was originally only about effects, while now it's "abstract" and used for both effects and transitions, under the name "assets".
So reading "effects" here was confusing.

48

ditto :-)

mardelle accepted this revision.Jul 5 2019, 5:47 AM

Thanks, can you push it ? (we are using gitlab)

This revision is now accepted and ready to land.Jul 5 2019, 5:47 AM
This revision was automatically updated to reflect the committed changes.
dfaure added a comment.Jul 5 2019, 8:59 AM

gitlab? Ah, that's why I couldn't push to git.kde.org!

Done, pushed to invent.kde.org

We need to update kdesrc-build / kde-build-metadata so it fetches kdenlive from invent.kde.org