Comment 3 for bug 1095780

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Made some investigations:
QPixmap map = QPixmap::grabWidget(m_pButton);
Does not work reliable with the setup above.
I have also noticed that the button is not painted reliable when hidden and all changes to the button in paint() are not mediately painted to the button. Calling repaint() leads to a paint recursion.
I have tried very long to trick my setup and make it working but with no success.
I have also searches the web if one has published a solution using grabWidget, no results.

All in all I would prefer to drop the style sheed solution and introduce a new skin attribute for the play and pause Images.
I think this is most likely a way that will work on all setups.