another sad qgraphicslayout workaround

CCBUG:178288

svn path=/trunk/KDE/kdelibs/; revision=899800
This commit is contained in:
Marco Martin 2008-12-21 16:19:47 +00:00
parent 6e04d381ed
commit 3027146fc9

View File

@ -248,6 +248,8 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
if (oldSize.width() < q->minimumSize().width() || oldSize.height() < q->minimumSize().height()) {
q->resize(prefSize);
}
//FIXME: this will be automatically propagated by the qgraphicslayout in the future
lay->setPreferredSize(prefSize);
//Applet on popup
} else {
kDebug() << "about to switch to a popup";