QMenubar gui bugfix