Merge branch 'master'

This commit is contained in:
David Capello 2016-02-18 14:15:04 -03:00
commit 9521ed3079

View File

@ -617,11 +617,13 @@ void Widget::setBounds(const Rect& rc)
void Widget::setBoundsQuietly(const gfx::Rect& rc)
{
m_bounds = rc;
if (m_bounds != rc) {
m_bounds = rc;
// Remove all paint messages for this widget.
if (Manager* manager = this->manager())
manager->removeMessagesFor(this, kPaintMessage);
// Remove all paint messages for this widget.
if (Manager* manager = this->manager())
manager->removeMessagesFor(this, kPaintMessage);
}
invalidate();
}