MTP: fix runtime warning when showing a warning to the user.
ClosedPublic

Authored by dfaure on Nov 4 2018, 10:33 PM.

Details

Summary

KIO says the following:
listDir() did not call finished() or error()! Please fix the "kio_mtp" KIO slave

and message boxes are annoying anyway, better use the error mechanism
for actual errors.

Test Plan

Not fully tested I admit, but seems obvious :-)

Diff Detail

Repository
R320 KIO Extras
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 4569
Build 4587: arc lint + arc unit
dfaure created this revision.Nov 4 2018, 10:33 PM
Restricted Application added projects: Dolphin, Frameworks. · View Herald TranscriptNov 4 2018, 10:33 PM
Restricted Application edited subscribers, added: kfm-devel, kde-frameworks-devel; removed: Dolphin. · View Herald Transcript
dfaure requested review of this revision.Nov 4 2018, 10:33 PM
apol accepted this revision.Nov 5 2018, 12:04 AM
This revision is now accepted and ready to land.Nov 5 2018, 12:04 AM
elvisangelaccio accepted this revision.Nov 5 2018, 8:11 PM
akrutzler accepted this revision.Nov 5 2018, 9:43 PM
dfaure closed this revision.Nov 10 2018, 10:19 PM