don't implement your own min/max size like this
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738952
This commit is contained in:
parent
14c8999f12
commit
396a48d6ce
@ -90,16 +90,6 @@ void Flash::setDuration( int duration )
|
||||
d->defaultDuration = duration;
|
||||
}
|
||||
|
||||
QSizeF Flash::minimumSize() const
|
||||
{
|
||||
return size();
|
||||
}
|
||||
|
||||
QSizeF Flash::maximumSize() const
|
||||
{
|
||||
return size();
|
||||
}
|
||||
|
||||
QSizeF Flash::sizeHint() const
|
||||
{
|
||||
return minimumSize();
|
||||
|
@ -43,8 +43,6 @@ class PLASMA_EXPORT Flash : public Plasma::Widget
|
||||
|
||||
void paintWidget(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
|
||||
QRectF boundingRect() const;
|
||||
QSizeF minimumSize() const;
|
||||
QSizeF maximumSize() const;
|
||||
virtual QSizeF sizeHint() const;
|
||||
|
||||
void setSize( const QSizeF & );
|
||||
|
Loading…
Reference in New Issue
Block a user