Output region in debug operator of QPaintEvent.
This helps to analzye flicker/painting issues. Change-Id: I18e04598013c013386c3d019ff3098b1accec3f7 Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
parent
751143724a
commit
196d55ba5c
@ -3842,6 +3842,9 @@ QDebug operator<<(QDebug dbg, const QEvent *e)
|
||||
case QEvent::Expose:
|
||||
dbg << "QExposeEvent(" << static_cast<const QExposeEvent *>(e)->region() << ')';
|
||||
break;
|
||||
case QEvent::Paint:
|
||||
dbg << "QPaintEvent(" << static_cast<const QPaintEvent *>(e)->region() << ')';
|
||||
break;
|
||||
case QEvent::MouseButtonPress:
|
||||
case QEvent::MouseMove:
|
||||
case QEvent::MouseButtonRelease:
|
||||
|
Loading…
x
Reference in New Issue
Block a user