[Applet] Fix connecting with a password
ClosedPublic

Authored by ngraham on Apr 16 2020, 1:57 PM.

Details

Summary

I could have sworn that I tested this during the initial ExpandableListItem port, but
the code change required to fix it suggests that I either did not, or was smoking crack
at the time. Sorry about the breakage.

Test Plan

Entering a password in the password field and hit return; password is sent and it tries
to connect

Diff Detail

Repository
R116 Plasma Network Management Applet
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ngraham created this revision.Apr 16 2020, 1:57 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 16 2020, 1:57 PM
Restricted Application added 1 blocking reviewer(s): jgrulich. · View Herald Transcript
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
ngraham requested review of this revision.Apr 16 2020, 1:57 PM
jgrulich accepted this revision.Apr 16 2020, 2:02 PM
This revision is now accepted and ready to land.Apr 16 2020, 2:02 PM
This revision was automatically updated to reflect the committed changes.
broulik added a subscriber: broulik.Jun 7 2020, 9:42 AM
broulik added inline comments.
applet/contents/ui/ConnectionItem.qml
234

You can't access a Component. You'd need to access the instance created by the Loader in ExpandableListItem which isn't exposed to the user.