fix for issue #13

Thanks for the patch.
Could you please do something like this http://qt-project.org/forums/viewthread/21550 instead? Saves us the trouble of using QStyle.