diff --git a/src/scriptengines/qml/plasmoid/appletinterface.cpp b/src/scriptengines/qml/plasmoid/appletinterface.cpp index 13c8193ff..a6b9c87aa 100644 --- a/src/scriptengines/qml/plasmoid/appletinterface.cpp +++ b/src/scriptengines/qml/plasmoid/appletinterface.cpp @@ -386,10 +386,10 @@ void AppletInterface::setToolTipItem(QQuickItem *toolTipItem) return; } + m_toolTipItem = toolTipItem; connect(m_toolTipItem.data(), &QObject::destroyed, this, &AppletInterface::toolTipItemChanged); - m_toolTipItem = toolTipItem; emit toolTipItemChanged(); }