don't set the size policy to be fixed

BUG:181241

svn path=/trunk/KDE/kdelibs/; revision=1125260
This commit is contained in:
Aaron J. Seigo 2010-05-11 04:02:00 +00:00
parent a6991a8417
commit d1263e7096

View File

@ -210,7 +210,7 @@ void MeterPrivate::setSizePolicyAndPreferredSize()
{
switch (meterType) {
case Meter::BarMeterHorizontal:
meter->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
meter->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
break;
case Meter::BarMeterVertical:
meter->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);