Index: /wengophone-ng/branches/wengophone-2.1/libs/qtutil/src/QObjectThreadSafe.cpp =================================================================== --- /wengophone-ng/branches/wengophone-2.1/libs/qtutil/src/QObjectThreadSafe.cpp (revision 11804) +++ /wengophone-ng/branches/wengophone-2.1/libs/qtutil/src/QObjectThreadSafe.cpp (revision 11811) @@ -25,4 +25,7 @@ QObjectThreadSafe::QObjectThreadSafe(QObject * parent) : QObject(parent) { +#if QT_VERSION >= 0x040200 + // This is needed with Qt 4.2 and later. See Trac ticket #1322. + // // If an object has a parent, its thread must be the current one. See // http://doc.trolltech.com/4.3/qobject.html#moveToThread for more info. @@ -31,4 +34,5 @@ moveToThread(QCoreApplication::instance()->thread()); } +#endif _blockEvents = false; }