Thanks for trying to fix this, but qcommonstyle.cpp is not a Windows-specific file and as such it is our policy not to change it (the X11 version works just fine with this code as it is). Perhaps you can find a fix that only touches _win.cpp files?Chris