remove dead code
This commit is contained in:
parent
c2f281452c
commit
f93c8769ef
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user