backport the fix for 199921
svn path=/branches/KDE/4.3/kdelibs/; revision=995463
This commit is contained in:
parent
50c115b656
commit
ebb22d5876
@ -1135,12 +1135,6 @@ void Applet::flushPendingConstraintsEvents()
|
|||||||
} else if (formFactor() == Vertical) {
|
} else if (formFactor() == Vertical) {
|
||||||
setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed));
|
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();
|
updateGeometry();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user