diff --git a/src/declarativeimports/core/ToolTip.qml b/src/declarativeimports/core/ToolTip.qml index d2495b4e9..8e5491ffa 100644 --- a/src/declarativeimports/core/ToolTip.qml +++ b/src/declarativeimports/core/ToolTip.qml @@ -44,7 +44,7 @@ MouseArea { property alias subText: tooltipWindow.subText // string property alias iconSource: tooltipIcon.source // icon name property alias image: tooltipImage.source // string / url to the image - property Item visualParent: parent + property Item target: parent // private props property int _s: theme.iconSizes.small / 2 @@ -73,7 +73,7 @@ MouseArea { PlasmaCore.ToolTipWindow { id: tooltipWindow - visualParent: tooltip.visualParent + visualParent: tooltip.target mainItem: PlasmaCore.FrameSvgItem { id: tooltipSvg diff --git a/src/shell/applets/testcomponentsapplet/contents/ui/IconsPage.qml b/src/shell/applets/testcomponentsapplet/contents/ui/IconsPage.qml index 5380156c8..6f77e2080 100644 --- a/src/shell/applets/testcomponentsapplet/contents/ui/IconsPage.qml +++ b/src/shell/applets/testcomponentsapplet/contents/ui/IconsPage.qml @@ -100,7 +100,7 @@ PlasmaComponents.Page { // Rectangle { color: "orange"; opacity: 0.3; anchors.fill: parent; } PlasmaCore.ToolTip { anchors.fill: parent - visualParent: akonadiIcon + target: akonadiIcon iconSource: "klipper" mainText: "Fish sighted in the wild, in the wild, a fish was seen." subText: "A mean-looking grouper swam by."