REVIEW: 123276
This commit is contained in:
Antonis Tsiapaliokas 2015-04-07 17:46:48 +03:00
parent 505c1f8cba
commit 684e456f84

View File

@ -568,14 +568,14 @@ int AppletQuickItem::switchHeight() const
return d->switchHeight;
}
void AppletQuickItem::setSwitchHeight(int width)
void AppletQuickItem::setSwitchHeight(int height)
{
if (d->switchHeight == width) {
if (d->switchHeight == height) {
return;
}
d->switchHeight = width;
emit switchHeightChanged(width);
d->switchHeight = height;
emit switchHeightChanged(height);
}
QQmlComponent *AppletQuickItem::compactRepresentation()