Diffusion KIO a9ea007cf87c

KFilePlaceEditDialog: fix crash when editing the Trash place

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

Description

KFilePlaceEditDialog: fix crash when editing the Trash place

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.

Reviewers: Frameworks

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D26276