Here's my problem. For every QMainWindow I created the following connection
QMenuBar *menu = m_window->menuBar();
connect(menu, SIGNAL(triggered(QAction*)), this, SLOT(menuTriggerAction(QAction*)));
The only problem is that not every m_window has a QAction added to it, but still the menu icon is shown on the window title. On my point of view this is a bug from 4.6 version, since it was working on the previous one.
Since I'm not sure where to post the bug, I've devided to use this forum.
Does anyone has any suggestion on how to solve this problem, since I need to add the connection for all QMainWindow that I create??