Once more try to fix the window caption
Why is it so hard to handle the window title correcly? Probably because QMainWindow/QWidget are trying to be smart and helpful.