backport the fix for 199921

svn path=/branches/KDE/4.3/kdelibs/; revision=995463
This commit is contained in:
Marco Martin 2009-07-12 19:36:13 +00:00
parent 50c115b656
commit ebb22d5876

View File

@ -1135,12 +1135,6 @@ void Applet::flushPendingConstraintsEvents()
} else if (formFactor() == Vertical) {
setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed));
}
} else {
if (formFactor() == Horizontal) {
setSizePolicy(QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding));
} else if (formFactor() == Vertical) {
setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred));
}
}
updateGeometry();
}