Fixes: Refactor QTrackerContactGlobalMutex to work with Qt's broken thread support.
authorMathias Hasselmann <mathias@openismus.com>
Sat, 12 Jun 2010 22:15:21 +0000 (00:15 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Thu, 17 Jun 2010 07:40:39 +0000 (09:40 +0200)
commit874bd9d65f7a82e203707fc82fd88a79afeb1220
treeaa6e2ff2f9bd65114be9ccd37f64515d0789d2b3
parentad0366e691d3993d69928cb3ea1d12cdd54b0b33
Fixes: Refactor QTrackerContactGlobalMutex to work with Qt's broken thread support.

RevBy: TrustMe
Details:

 * src/dbus/globalmutex.cpp:
 * src/dbus/globalmutex.h: Remove internal QEventLoop object as Qt doesn't
   support nested event loops it seems. Emit signals instead. Also create a
   private DBus connection as QtDBus is not thread-safe (QTBUG-11413).

 * src/engine/contactsaverequest2.cpp:
 * src/engine/contactsaverequest2.h:
   Use new signals of QTrackerContactGlobalMutex.
src/dbus/globalmutex.cpp
src/dbus/globalmutex.h
src/engine/contactsaverequest2.cpp
src/engine/contactsaverequest2.h