QDockWidget gets hidden when closing application

Printable View