Commit 30cd11c7 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Plasma Windowed] Use setSize instead of setWidth + setHeight

Differential Revision: https://phabricator.kde.org/D7365
parent cf572c3b
......@@ -175,11 +175,9 @@ void PlasmaWindowedView::resizeEvent(QResizeEvent *ev)
minimumWidthChanged();
minimumHeightChanged();
i->setWidth(ev->size().width());
i->setHeight(ev->size().height());
contentItem()->setWidth(ev->size().width());
contentItem()->setHeight(ev->size().height());
i->setSize(ev->size());
contentItem()->setSize(ev->size());
m_applet->config().writeEntry("geometry", QRect(position(), ev->size()));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment