Check that the request don't get deleted in a slot
authorKonstantin Ritt <ritt.ks@gmail.com>
Mon, 6 Jan 2014 21:43:01 +0000 (23:43 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 10 Jan 2014 10:29:15 +0000 (11:29 +0100)
commitb1f256e6ca8bf15a882c698568ec139d91c0c718
tree53f8f43a0d47b20af3e1627332c23b9f3e133753
parent1ca893339669947fa60597d6a524a997e6bb87e9
Check that the request don't get deleted in a slot

Deleting sender() in a slot isn't allowed, really.
Produce an assert for now to help the existing users fix their code.

Change-Id: I784ec6f7bc0116b4bf5be8da086dae9492bf3aea
Reviewed-by: Michael Krasnyk <michael.krasnyk@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
src/contacts/qcontactmanagerengine.cpp
src/contacts/qcontactmanagerenginev2wrapper_p.cpp
src/imports/contacts/qdeclarativecontactmodel.cpp
src/imports/contacts/qdeclarativecontactrelationshipmodel.cpp
src/imports/organizer/qdeclarativeorganizermodel.cpp
src/organizer/qorganizermanagerengine.cpp
src/plugins/contacts/memory/qcontactmemorybackend.cpp
src/plugins/organizer/memory/qorganizeritemmemorybackend.cpp
tests/auto/contacts/qcontactasync/unittest/tst_qcontactasync.cpp
tests/auto/organizer/qorganizeritemasync/unittest/tst_qorganizeritemasync.cpp