From b35d60db2d8b7508127e8d365d22a82d58bd9dc6 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Tue, 27 Mar 2018 20:44:47 +0200 Subject: [PATCH] Remove unused whatIsIcon.png related code --- components/Label.qml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/components/Label.qml b/components/Label.qml index 79b83a5d..b77a614c 100644 --- a/components/Label.qml +++ b/components/Label.qml @@ -65,34 +65,4 @@ Item { color: fontColor onLinkActivated: item.linkActivated() } - -// @TODO: figure out significance of whatIsIcon.png, remove for now -// Image { -// id: icon -// anchors.verticalCenter: parent.verticalCenter -// anchors.left: label.right -// anchors.leftMargin: 5 * scaleRatio -// source: "../images/whatIsIcon.png" -// visible: appWindow.whatIsEnable -// } - -// MouseArea { -// anchors.fill: icon -// enabled: appWindow.whatIsEnable -// hoverEnabled: true -// onEntered: { -// icon.visible = false -// var pos = appWindow.mapFromItem(icon, 0, -15) -// tipItem.text = item.tipText -// tipItem.x = pos.x -// if(tipItem.height > 30) -// pos.y -= tipItem.height - 28 -// tipItem.y = pos.y -// tipItem.visible = true -// } -// onExited: { -// icon.visible = Qt.binding(function(){ return appWindow.whatIsEnable; }) -// tipItem.visible = false -// } -// } }