From 35dbd6676483e06d02148d69e9a20eafc6035fcd Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Wed, 28 Oct 2009 16:32:30 +0100
Subject: [PATCH] debugger: fix the autotest fix

---
 tests/auto/debugger/tst_gdb.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/auto/debugger/tst_gdb.cpp b/tests/auto/debugger/tst_gdb.cpp
index 0e116434272..d04e3c35f9a 100644
--- a/tests/auto/debugger/tst_gdb.cpp
+++ b/tests/auto/debugger/tst_gdb.cpp
@@ -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);
 }
-- 
GitLab