fix minimizing qt app

fix this: https://github.com/novacoin-project/novacoin/issues/68