OSDN Git Service

debugger: fix the autotest fix
authorhjk <qtc-committer@nokia.com>
Wed, 28 Oct 2009 15:32:30 +0000 (16:32 +0100)
committerhjk <qtc-committer@nokia.com>
Thu, 29 Oct 2009 08:51:29 +0000 (09:51 +0100)
tests/auto/debugger/tst_gdb.cpp

index 0e11643..d04e3c3 100644 (file)
@@ -478,6 +478,7 @@ Thread::Thread(tst_Gdb *test) : m_proc(0), m_test(test)
 #else
     qDebug() << "\nTHREAD CREATED" << getpid() << gettid();
 #endif
+    moveToThread(this);
     connect(m_test, SIGNAL(writeToGdb(QByteArray)),
             this, SLOT(writeToGdbRequested(QByteArray)), Qt::QueuedConnection);
 }