summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbconnection.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-05-29 17:45:05 -0300
committerThiago Macieira <thiago.macieira@intel.com>2016-05-30 00:19:39 +0000
commit32c301e2296c5b3ba31528e6d92b521d43a216e9 (patch)
treefabce68c87fed9e62346f2a1e4ac3efca83bad76 /src/plugins/platforms/xcb/qxcbconnection.cpp
parent6d31d3e7effabcc998792283249d46f5c0d73b3d (diff)
Fix crash when connecting a non-PMF with Qt::UniqueConnection...
...if a PMF connection had already happened. Since UniqueConnection isn't implemented for non-PMFs (functors and lambdas aren't comparable, even if static member functions or non-member functions are), we pass a null pointer for comparison argument. The disconnect() code already protected against a null pointer there, but not the connect code path with Qt::UniqueConnection Change-Id: I87e17314d8b24ae983b1fffd145324beced0494d Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Dario Freddi <dario.freddi@ispirata.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbconnection.cpp')
0 files changed, 0 insertions, 0 deletions