From fac1870bc2245f8d304094995a90d7a3dc77d68d Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sat, 29 May 2010 18:20:01 +0000 Subject: [PATCH] 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 --- popupapplet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popupapplet.cpp b/popupapplet.cpp index 7281b7ede..edb35a532 100644 --- a/popupapplet.cpp +++ b/popupapplet.cpp @@ -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); }