fix for issue #13
update for the fix, remove QStyle dependency
Merge pull request #22 from toudi/center-mainwindow-fix

fix for issue #13