another sad qgraphicslayout workaround
CCBUG:178288 svn path=/trunk/KDE/kdelibs/; revision=899800
This commit is contained in:
parent
6e04d381ed
commit
3027146fc9
@ -248,6 +248,8 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
|||||||
if (oldSize.width() < q->minimumSize().width() || oldSize.height() < q->minimumSize().height()) {
|
if (oldSize.width() < q->minimumSize().width() || oldSize.height() < q->minimumSize().height()) {
|
||||||
q->resize(prefSize);
|
q->resize(prefSize);
|
||||||
}
|
}
|
||||||
|
//FIXME: this will be automatically propagated by the qgraphicslayout in the future
|
||||||
|
lay->setPreferredSize(prefSize);
|
||||||
//Applet on popup
|
//Applet on popup
|
||||||
} else {
|
} else {
|
||||||
kDebug() << "about to switch to a popup";
|
kDebug() << "about to switch to a popup";
|
||||||
|
Loading…
Reference in New Issue
Block a user