QDBusConnectionPrivate identation

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-05-13 04:43:36 +00:00
parent f2b3f9b36d
commit 6226ab533e

View file

@ -946,10 +946,10 @@ void QDBusConnectionPrivate::deliverCall(QObject *object, int /*flags*/, const Q
QPointer<QObject> ptr = object;
fail = object->qt_metacall(QMetaObject::InvokeMetaMethod,
slotIdx, params.data()) >= 0;
QDBusConnectionPrivate::setSender(0);
// the object might be deleted in the slot
if (!ptr.isNull())
QDBusContextPrivate::set(object, old);
QDBusConnectionPrivate::setSender(Q_NULLPTR);
// the object might be deleted in the slot
if (!ptr.isNull())
QDBusContextPrivate::set(object, old);
}
// do we create a reply? Only if the caller is waiting for a reply and one hasn't been sent