Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
4.8.1, 5.0.0, 5.8.0
-
The bug occurs with Linux (ArchLinux with kernel 3.0.25) and with Windows (Windows 7 64).
Description
When creating a QMenuBar with QActions in it (without QMenu), the QMenuBar::triggered(QAction*) signal can get fired twice, depending on the QAction.
See also another (closed) related issue QTBUG-6741
Test code is provided. Clicking on the first QAction prints "Triggered" once, clicking on the second one prints "Triggered" twice.