form factor changing

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670545
This commit is contained in:
Aaron J. Seigo 2007-06-01 22:59:58 +00:00
parent 357db36e7f
commit 5cd8761ab2

View File

@ -118,7 +118,15 @@ Location Corona::location() const
void Corona::setLocation(Location location)
{
if (d->location == location) {
return;
}
d->location = location;
foreach (Applet* applet, d->applets) {
applet->constraintsUpdated();
}
}
FormFactor Corona::formFactor() const
@ -132,6 +140,7 @@ void Corona::setFormFactor(FormFactor formFactor)
return;
}
//kDebug() << "switching FF to " << formFactor << endl;
d->formFactor = formFactor;
delete d->layout;
d->layout = 0;