remove dead code

This commit is contained in:
Marco Martin 2020-10-21 12:22:33 +02:00
parent c2f281452c
commit f93c8769ef

View File

@ -52,10 +52,6 @@ T.MenuItem {
Layout.alignment: Qt.AlignVCenter
visible: (controlRoot.ListView.view && controlRoot.ListView.view.hasIcons) || (controlRoot.icon != undefined && (controlRoot.icon.name.length > 0 || controlRoot.icon.source.length > 0))
source: controlRoot.icon ? (controlRoot.icon.name || controlRoot.icon.source) : ""
//FIXME: either migrate to Kirigami icon or add color to IconItem
// color: controlRoot.icon ? controlRoot.icon.color : "transparent"
//hovered is for retrocompatibility
// status: (controlRoot.highlighted || controlRoot.hovered) ? PlasmaCore.Svg.Selected : PlasmaCore.Svg.Normal
Layout.preferredHeight: Math.max(label.height, Kirigami.Units.iconSizes.small)
Layout.preferredWidth: Layout.preferredHeight
}