qt5base-lts/tests/auto/dbus/qdbusconnection
Thiago Macieira 6f275a4beb 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>
2016-08-09 02:41:22 +00:00
..
.gitignore Moved dbus autotests into new directory structure 2011-09-01 09:37:08 +02:00
qdbusconnection.pro Merge remote-tracking branch 'origin/5.6' into dev 2015-09-25 14:02:04 +02:00
tst_qdbusconnection.cpp Make sure QDBusConnection::connect() returns false if already connected 2016-08-09 02:41:22 +00:00
tst_qdbusconnection.h tst_QDBusConnection: add a test for a regular signal connection 2016-07-02 16:38:02 +00:00