Diffusion KIO 2353119aae8f

Fix KIO::mkpath with qtbase 5.10 beta 4

Authored by elvisangelaccio on Nov 16 2017, 9:41 AM.

Description

Fix KIO::mkpath with qtbase 5.10 beta 4

Summary:
The latest Qt 5.10 beta includes [1] which breaks a bunch of unit tests,
since url.setPath("//foo") will now result in an invalid (empty) QUrl.

This patch fixes the KIO::mkpath() case.

[1]: http://code.qt.io/cgit/qt/qtbase.git/commit/?id=f62768d046528636789f901ac79e2cfa1843a7b7

Test Plan:

  • I can now create folders from dolphin and plasma.
  • fileundomanagertest and mkpathjobtest no longer fail

Reviewers: Frameworks, dfaure

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D8836

Details

Committed
elvisangelaccioNov 16 2017, 10:56 AM
Differential Revision
D8836: Fix KIO::mkpath with qtbase 5.10 beta 4
Parents
R241:538923126412: docs/kcontrol5/netpref: Fix date
Branches
Unknown
Tags
Unknown