Calling Win32 COM function causes double WM_PAINT events handled by Qt



  • I have a strange win32 problem: I call IShellItemImageFactory::getImage() in my View Delegate which triggers a WM_PAINT message that causes Qt to run the repaint loop again which eventually crashes (even when I protect my delegates paint() method with a reentrance check.

    Stacktrace:
    http://pastebin.com/BMzKEkUn

    It seems the be a faulty behaviour of Qt


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.