diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2016-05-31 11:57:53 -0300 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2016-08-09 02:41:22 +0000 |
commit | 6f275a4beb9a42b9d5ac99682ce9939a66239778 (patch) | |
tree | ea39e71a200d83d54cb358d744bacd2f4cd40703 /src/gui/painting/qcolor.h | |
parent | e24f89f266cee6e2473af6f66bd78f2df3a51c83 (diff) |
Make sure QDBusConnection::connect() returns false if already connected
QDBusConnection::connect() behaves like QObject::connect with a
connection type of Qt::UniqueConnection | Qt::QueuedConnection. So
return false if it's already connected.
[ChangeLog][QtDBus][QDBusConnection] Fixed a bug that would cause
QDBusConnection::connect() to return true if a slot was already
connected to the same D-Bus signal. QtDBus does not support multiple
connections.
Change-Id: I87e17314d8b24ae983b1fffd1453aef5a7c9ad0b
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/gui/painting/qcolor.h')
0 files changed, 0 insertions, 0 deletions