mirror of https://github.com/qt/qtbase.git
Use new connect syntax
Change-Id: I61ada9387c6d09f86afa8ace46257c7e5ef27e72 Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
This commit is contained in:
parent
7917dfbf1c
commit
658d3114d2
|
@ -90,7 +90,7 @@ QAccessible::Id QAccessibleCache::insert(QObject *object, QAccessibleInterface *
|
|||
Q_ASSERT(object == obj);
|
||||
if (obj) {
|
||||
objectToId.insert(obj, id);
|
||||
connect(obj, SIGNAL(destroyed(QObject *)), this, SLOT(objectDestroyed(QObject *)));
|
||||
connect(obj, &QObject::destroyed, this, &QAccessibleCache::objectDestroyed);
|
||||
}
|
||||
idToInterface.insert(id, iface);
|
||||
return id;
|
||||
|
|
Loading…
Reference in New Issue