[KAcceleratorManager] Only set iconText() if actually changed

Authored by cfeck on Mar 30 2018, 12:18 AM.

Description

[KAcceleratorManager] Only set iconText() if actually changed

QAction::setIconText() breaks the feature that QAction::iconText()
is returning text() when the iconText is empty.

BUG: 391002

Reviewed by Christian Ehrlicher

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

Details

Committed
cfeckMar 30 2018, 12:18 AM
Differential Revision
D11346: Only set iconText() if actually changed
Parents
R236:6b88b7c1eafe: ktooltipwidget: Prevent offscreen display
Branches
Unknown
Tags
Unknown