Minor TODO item on Widget::setBoundsQuietly() for the future

This commit is contained in:
David Capello 2017-11-03 09:35:00 -03:00
parent ccbab8d4fd
commit f07359d71c

View File

@ -641,6 +641,9 @@ void Widget::setBoundsQuietly(const gfx::Rect& rc)
manager->removeMessagesFor(this, kPaintMessage);
}
// TODO Test moving this inside the if (m_bounds != rc) { ... }
// block, so the widget is invalidted only when the bounds are
// really changed.
invalidate();
}