qt6-bb10/tests/auto
Yulong Bai 4d898a73e6 QMenuBar: Fix repetitive emission of triggered() when using addAction(QString)
The action which added by QMenuBar::addAction(const QString &text) already
connected relevant signals and slots implicitly, however, while
QMenuBarPrivate::updateGeometry -ing, it reconnects them
if there's a extension button associated with a hidden popup menu.
In that case the QMenuBar::triggered would be fired twice.
Since the QAction's ownership may be changed or added dynamically,
there are still very rare cases like several widgets share the same
QAction object to result in this problem.

[ChangeLog][QtWidgets][QMenu] Fixed a bug in QMenu that caused QMenuBar::triggered
to be fired multiple times.

Task-number: QTBUG-25669
Change-Id: I4d52e82a2136a992e0b37118e41237d96a2c5d22
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
2018-01-21 17:54:47 +00:00
..
android
bic/data Add binary compatibility files for QtBase for 5.10 2018-01-04 16:26:32 +00:00
cmake CMake: Set SKIP_AUTOMOC/AUTOUIC where needed 2017-11-22 13:51:30 +00:00
compilerwarnings/data
concurrent Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
corelib Merge remote-tracking branch 'origin/5.10' into dev 2018-01-20 22:36:19 +01:00
dbus Use dependencies instead of CONFIG+=ordered 2017-12-02 11:09:15 +00:00
gui Merge remote-tracking branch 'origin/5.10' into dev 2018-01-20 22:36:19 +01:00
guiapplauncher
installed_cmake
network Use TESTDATA for QSsl* tests 2018-01-12 11:43:55 +00:00
opengl Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
other QAbstractItemModelTester: fix the autotests 2018-01-09 21:12:58 +00:00
printsupport Convert features.completer to QT_[REQUIRE_]CONFIG 2017-09-04 11:28:02 +00:00
shared
sql Merge remote-tracking branch 'origin/5.10' into dev 2018-01-11 18:10:41 +01:00
testlib QAbstractItemModelTester: fix the autotests 2018-01-09 21:12:58 +00:00
tools uic: Support id-based translations 2018-01-18 11:31:09 +00:00
widgets QMenuBar: Fix repetitive emission of triggered() when using addAction(QString) 2018-01-21 17:54:47 +00:00
xml tst_qxmlsimplereader::inputFromSocket - fix race condition(s) 2017-11-06 19:14:41 +00:00
auto.pro tests/auto/auto.pro: Use correct null device for DBUS check 2017-12-01 09:53:07 +00:00
network-settings.h