mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
plasma: correct base class call in Plasma::Label::itemChange()
it has been like this since before the fork Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
cbbf7a75e5
commit
899f94c78d
1 changed files with 1 additions and 2 deletions
|
@ -253,8 +253,7 @@ QVariant Label::itemChange(GraphicsItemChange change, const QVariant & value)
|
||||||
if (change == QGraphicsItem::ItemCursorHasChanged) {
|
if (change == QGraphicsItem::ItemCursorHasChanged) {
|
||||||
nativeWidget()->setCursor(cursor());
|
nativeWidget()->setCursor(cursor());
|
||||||
}
|
}
|
||||||
|
return QGraphicsProxyWidget::itemChange(change, value);
|
||||||
return QGraphicsWidget::itemChange(change, value);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QSizeF Label::sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
|
QSizeF Label::sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
|
||||||
|
|
Loading…
Add table
Reference in a new issue