should only be for preferred size
svn path=/trunk/KDE/kdelibs/; revision=1130680
This commit is contained in:
parent
b152bae01f
commit
b927523850
@ -427,7 +427,7 @@ void PopupAppletPrivate::appletActivated()
|
|||||||
|
|
||||||
QSizeF PopupApplet::sizeHint(Qt::SizeHint which, const QSizeF & constraint) const
|
QSizeF PopupApplet::sizeHint(Qt::SizeHint which, const QSizeF & constraint) const
|
||||||
{
|
{
|
||||||
if (!d->icon) {
|
if (!d->icon || which != Qt::PreferredSize) {
|
||||||
return Applet::sizeHint(which, constraint);
|
return Applet::sizeHint(which, constraint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user