From 899f94c78d43da989256f1798ae6af958f1e58ab Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Wed, 10 Apr 2024 11:06:43 +0300 Subject: [PATCH] plasma: correct base class call in Plasma::Label::itemChange() it has been like this since before the fork Signed-off-by: Ivailo Monev --- plasma/widgets/label.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plasma/widgets/label.cpp b/plasma/widgets/label.cpp index b741d00d..f3b4e20c 100644 --- a/plasma/widgets/label.cpp +++ b/plasma/widgets/label.cpp @@ -253,8 +253,7 @@ QVariant Label::itemChange(GraphicsItemChange change, const QVariant & value) if (change == QGraphicsItem::ItemCursorHasChanged) { nativeWidget()->setCursor(cursor()); } - - return QGraphicsWidget::itemChange(change, value); + return QGraphicsProxyWidget::itemChange(change, value); } QSizeF Label::sizeHint(Qt::SizeHint which, const QSizeF &constraint) const