qt6-bb10/src
Thiago Macieira b2be272d35 Make QMetaObject::Connection check its state deeply
Since Connection can be copied, one copy could be used for
disconnecting, but the other's d_ptr wouldn't get updated and would
continue to report as still connected.

This patch fixes that by making it check the internal state. That is
only done after d_ptr is already known to be non-null. Unfortunately,
that is the common path:

  if (connect(sender, &Sender::signal, [] {}))

will call an out-of-line function. I don't see a way out.

Task-number: QTBUG-46213
Change-Id: I66a35ce5f88941f29aa6ffff13dfb45dca68a350
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2015-06-19 23:22:33 +00:00
..
3rdparty update bundled sqlite to 3.8.10.2 2015-06-16 11:34:14 +00:00
android Revert "Android: Don't show translucent system UI on top of Qt" 2015-05-30 05:55:56 +00:00
angle ANGLE: Fix compilation without d3d11 2015-05-28 06:52:01 +00:00
concurrent Doc: Qt Concurrent: Link to essential usage information 2015-04-07 14:38:29 +00:00
corelib Make QMetaObject::Connection check its state deeply 2015-06-19 23:22:33 +00:00
dbus fix usage of wince scope 2015-06-05 10:29:10 +00:00
gui doc: mark QWindow::requestUpdate() as \since 5.5 2015-06-18 05:54:02 +00:00
network fix usage of wince scope 2015-06-05 10:29:10 +00:00
opengl Fix subpixel rendered text in QGLWidget 2015-05-30 17:20:01 +00:00
openglextensions Fix typo when resolving EGL extension. 2015-04-23 11:54:36 +00:00
platformheaders Doc: Fix spelling errors in the QXcbWindowFunctions docs 2015-05-07 06:57:50 +00:00
platformsupport Avoid QWidget dependency in QtGui 2015-06-01 13:38:18 +00:00
plugins xcb: Map touch points to screen coordinates 2015-06-19 10:49:49 +00:00
printsupport Merge remote-tracking branch 'origin/5.4' into 5.5 2015-06-01 17:46:58 +02:00
sql Fixing error with reading Time fields by qibase sql driver. 2015-06-08 12:07:10 +00:00
testlib Let QtTest use an alternate stack for its signal handlers 2015-06-15 22:19:12 +00:00
tools qdoc: Clear the map of HTML anchors for each generated page 2015-06-05 12:57:09 +00:00
widgets QSwipeGestureRecognizer: Allow for small direction changes. 2015-06-07 20:10:12 +00:00
winmain fix usage of wince scope 2015-06-05 10:29:10 +00:00
xml Merge remote-tracking branch 'origin/5.4' into 5.5 2015-06-01 17:46:58 +02:00
src.pro fix usage of wince scope 2015-06-05 10:29:10 +00:00