D10370: Fix parsing of sound and image urls with relative paths
Hartmut Riesenbeck
noreply at phabricator.kde.org
Wed Feb 7 19:52:28 UTC 2018
hriesenbeck created this revision.
hriesenbeck added reviewers: KDE Edu, whiting.
Restricted Application added a project: KDE Edu.
hriesenbeck requested review of this revision.
REVISION SUMMARY
Relative file paths for sound and image files were not correctly parsed
into QUrl objects. The reason for this is, that the previous used
QUrl::isRelative() does not work as its name lets suppose. So the
relative file path detection is changed to QDir methods.
Unit tests for sound and image file path parsing were added.
BUG: 389517
TEST PLAN
Run unit tests
REPOSITORY
R339 KEduVocDocument Library
BRANCH
fix_sound_url_parsing_for_review
REVISION DETAIL
https://phabricator.kde.org/D10370
AFFECTED FILES
.arcconfig
keduvocdocument/autotests/readerkvtml2test.cpp
keduvocdocument/readerwriters/keduvockvtml2reader.cpp
To: hriesenbeck, #kde_edu, whiting
Cc: narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180207/13f83afa/attachment-0001.html>
More information about the kde-edu
mailing list