Fix reference error

This commit is contained in:
Sebastian Kügler 2014-01-10 18:57:42 +01:00
parent b233c6e735
commit 30d1e6bdba

View File

@ -81,9 +81,9 @@ Item {
PlasmaCore.IconItem { PlasmaCore.IconItem {
id: tooltipIcon id: tooltipIcon
width: toolTip.icon != "" ? theme.iconSizes.desktop : 0 width: toolTip.icon != null ? theme.iconSizes.desktop : 0
height: width height: width
source: toolTip ? toolTip.icon : "" source: toolTip.icon != null ? toolTip.icon : ""
anchors { anchors {
leftMargin: width != 0 ? _s : 0 leftMargin: width != 0 ? _s : 0
} }