Why will my QMainWindow not minimize properly?

Printable View