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)
committerMathias Hasselmann <mathias@openismus.com>
Sat, 12 Jun 2010 22:15:21 +0000 (00:15 +0200)
commit459964c11481e895f0a32856ab5953f474d8f1f9
treeaa6e2ff2f9bd65114be9ccd37f64515d0789d2b3
parent8244847c994de6ebef1f593aafaa0c5db48f8c24
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