resset the QWindow instead of QMainWindow. There's a main menu in it !