Don't incorrectly claim to support KIO::open
ClosedPublic

Authored by feverfew on Mar 27 2020, 9:16 PM.

Details

Summary

Docs for KProtocolManager::supportsOpening() states that when it
returns true, it means that the protocol supports the FileJob interface
(KIO::open). GDrive does not support this interface so this function should
return false. To make it do so, the json file needs to be amended.

Test Plan

Compiles

Diff Detail

Repository
R219 KIO GDrive
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
feverfew requested review of this revision.Mar 27 2020, 9:16 PM
feverfew created this revision.
feverfew added a project: KIO GDrive.
feverfew added a subscriber: KIO GDrive.
elvisangelaccio accepted this revision.Mar 29 2020, 10:48 AM

Please push to the 1.3 branch. Thanks!

This revision is now accepted and ready to land.Mar 29 2020, 10:48 AM
This revision was automatically updated to reflect the committed changes.

@elvisangelaccio Done. I don't know how you choose for fixes in release branches to get into master so I'll let you sort that out (and what is it, for future reference)?

@elvisangelaccio Done. I don't know how you choose for fixes in release branches to get into master so I'll let you sort that out (and what is it, for future reference)?

As a general rule, every fix in a stable/release branch should get merged into master (by merging the whole branch). I've done that now.