Review Request 123052: fix setting a schemeless absolute url as a source not working

Anthony Vital yesmichel at gmail.com
Thu Mar 19 16:27:32 GMT 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123052/
-----------------------------------------------------------

(Updated March 19, 2015, 4:27 p.m.)


Status
------

This change has been marked as submitted.


Review request for Phonon.


Changes
-------

Submitted with commit 9d95f32425e6adea3d03b50d14dd854fed30b161 by Anthony Vital to branch master.


Bugs: 341585
    http://bugs.kde.org/show_bug.cgi?id=341585


Repository: phonon-vlc


Description
-------

QUrl considers url.scheme.isEmpty() == url.isRelative(), so to be sure the url is not actually absolute we just check the first character.
(FYI, the same thing is done in KNotifyConfig)


Diffs
-----

  src/mediaobject.cpp 5329b24a4ed578ecd03d6e5a36230ce89fe65b57 

Diff: https://git.reviewboard.kde.org/r/123052/diff/


Testing
-------

In kcmnotify (see bug #341585), tried with relative, absolute and scheme+absolute paths. Worked fine.
Same with a home made phonon application.


Thanks,

Anthony Vital

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20150319/c01e56df/attachment.htm>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


More information about the kde-multimedia mailing list