--- tora-1.3.21/tothread.cpp 2006-02-09 02:21:37.000000000 +0100 +++ tora-1.3.21_mod/tothread.cpp 2006-11-13 12:23:45.000000000 +0100 @@ -48,6 +48,7 @@ #ifdef QT_THREAD_SUPPORT +void *toThreadStartWrapper(void *t); void toSemaphore::up(void) { @@ -158,6 +159,7 @@ void toThread::initAttr() { +#define THREAD_ASSERT(x) if((x)!=0) { throw (qApp->translate("toThread","Thread function \"%1\" failed.").arg(QString::fromLatin1( #x ))); } //create the thread detached, so everything is cleaned up //after it's finished. try