Fix extraction of encrypted entries with the unar plugin
ClosedPublic

Authored by elvisangelaccio on Apr 7 2017, 4:34 PM.

Details

Summary

The passwordSwitch property is a QStringList and not a QString.
Thus converting from QVariant to QString breaks as soon as the list
contains more than one string, which is the case with the unar plugin.

BUG: 378507
FIXED-IN: 17.04.0

Test Plan

I can now open encrypted entries with the unar plugin. Other cli plugins still work.

Diff Detail

Repository
R36 Ark
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
elvisangelaccio created this revision.Apr 7 2017, 4:34 PM
Restricted Application added a project: Ark. · View Herald TranscriptApr 7 2017, 4:34 PM
Restricted Application added subscribers: Ark, kde-utils-devel. · View Herald Transcript
rthomsen accepted this revision.Apr 9 2017, 9:48 AM
This revision is now accepted and ready to land.Apr 9 2017, 9:48 AM