From 3027146fc933a1be2bb2735b8de0b031dfda3426 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sun, 21 Dec 2008 16:19:47 +0000 Subject: [PATCH] another sad qgraphicslayout workaround CCBUG:178288 svn path=/trunk/KDE/kdelibs/; revision=899800 --- popupapplet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/popupapplet.cpp b/popupapplet.cpp index 4ea0069c1..686f36c9e 100644 --- a/popupapplet.cpp +++ b/popupapplet.cpp @@ -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";