the proper fix for stupid compilers *sigh* setSize(int, int) isn't virtual in Widget, but that doesn't matter in this case at all.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773493
This commit is contained in:
parent
eed0410c56
commit
e83f329de0
@ -1352,6 +1352,11 @@ QVariant Applet::itemChange(GraphicsItemChange change, const QVariant &value)
|
||||
return Widget::itemChange(change, value);
|
||||
}
|
||||
|
||||
void Applet::setSize(int width, int height)
|
||||
{
|
||||
setSize(QSizeF(width, height));
|
||||
}
|
||||
|
||||
void Applet::setSize(const QSizeF &size)
|
||||
{
|
||||
setGeometry(QRectF(pos(), size));
|
||||
|
Loading…
Reference in New Issue
Block a user