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/BMzKEkUnIt seems the be a faulty behaviour of Qt