KFilePlaceEditDialog: fix crash when editing the Trash place
ClosedPublic

Authored by elvisangelaccio on Dec 29 2019, 6:06 PM.

Details

Summary

m_iconButton is initialized only when the url scheme of the place being
edited is not trash.

BUG: 415676
FIXED-IN: 5.66

Test Plan

Right-click the Trash place in dolphin and change the name.

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.
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 29 2019, 6:06 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
elvisangelaccio requested review of this revision.Dec 29 2019, 6:06 PM
ngraham accepted this revision.Dec 29 2019, 6:08 PM
ngraham added a subscriber: ngraham.

Oops! Nice fix.

This revision is now accepted and ready to land.Dec 29 2019, 6:08 PM
This revision was automatically updated to reflect the committed changes.