fix minimizing qt app

fix this: https://github.com/novacoin-project/novacoin/issues/68
Merge pull request #73 from fsb4000/patch-1

fix minimizing qt app