Fix KDirlister Gui Test setting URL scheme twice
ClosedPublic

Authored by davidedmundson on Apr 4 2017, 12:20 PM.

Details

Summary

We either need to set the URL file:/dev or use QUrl::fromLocalFile, not
both.

Test Plan

Clicked button, got some ouptut instead of an error

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Apr 4 2017, 12:20 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptApr 4 2017, 12:20 PM
kfunk accepted this revision.Apr 4 2017, 1:02 PM
This revision is now accepted and ready to land.Apr 4 2017, 1:02 PM
markg added a reviewer: dfaure.Apr 4 2017, 5:35 PM
markg added a subscriber: markg.
markg added inline comments.
tests/kdirlistertest_gui.cpp
128–138 ↗(On Diff #13087)

Than the nearly all of this is also wrong.

I know the block is merely a comment, but can you fix that in the same manner?
That at least keeps it consistent consistent.

Or remove the block completely (if David Faure agrees).

This revision was automatically updated to reflect the committed changes.