is the dialog that we are sure i doesn't exist when the popupapplet is expanded, not the icon.

this unscrews size hints (and therefore unscrews the newspaper containment too)

svn path=/trunk/KDE/kdelibs/; revision=1132102
This commit is contained in:
Marco Martin 2010-05-29 18:20:01 +00:00
parent 1c3a928ee8
commit fac1870bc2

View File

@ -427,7 +427,7 @@ void PopupAppletPrivate::appletActivated()
QSizeF PopupApplet::sizeHint(Qt::SizeHint which, const QSizeF & constraint) const
{
if (!d->icon || which != Qt::PreferredSize) {
if (!d->dialogPtr || which != Qt::PreferredSize) {
return Applet::sizeHint(which, constraint);
}