Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.0
-
None
-
671fb279defa0a97c38c28dded767f58c67f9dac
Description
Product
Qt
Function
Painting
Version
4.6.0-tp
Platform
Windows XP
Platform details
Windows XP, SP3
Compilers
MSVC
Compiler details
Visual Studio 2008, SP1
Subject
paint() being called before polish() in QGraphicsWidget
Steps to reproduce / test case
The problem can be verified with examples\animation\animatedtiles. If I add
void polishEvent()
{
QGraphicsWidget::polishEvent();
}
to Button and start the example application, paint() is being called before first polishEvent().
If the same application is compiled with Qt 4.5.3 (QState related code needs to be stripped out),
everything works as expected.