From f93c8769ef10627eaa5208a6507faa7f5346fab3 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 21 Oct 2020 12:22:33 +0200 Subject: [PATCH] remove dead code --- src/declarativeimports/plasmacomponents3/MenuItem.qml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/declarativeimports/plasmacomponents3/MenuItem.qml b/src/declarativeimports/plasmacomponents3/MenuItem.qml index 9baa896a5..9ba2f66e2 100644 --- a/src/declarativeimports/plasmacomponents3/MenuItem.qml +++ b/src/declarativeimports/plasmacomponents3/MenuItem.qml @@ -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 }