From 3ce104e0ef1ca9447283eb9cab384bc73fb38d3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 15 Dec 2009 08:15:35 +0000 Subject: [PATCH] multithreading for all but windoze 2 --- proxyface/autoproxy.hxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/proxyface/autoproxy.hxx b/proxyface/autoproxy.hxx index f14fa44..3191f01 100644 --- a/proxyface/autoproxy.hxx +++ b/proxyface/autoproxy.hxx @@ -15,7 +15,7 @@ #include #include #include -// #include +#include #include #endif @@ -77,8 +77,7 @@ namespace proxy { @example test.cxx */ class Interface #ifdef QT_NETWORK_LIB -// : public QThread - : public QObject + : public QThread #endif { #ifdef QT_NETWORK_LIB @@ -92,8 +91,8 @@ namespace proxy { qFatal("connect failed"); if (!connect(&_timeout2, SIGNAL(timeout()), SLOT(timeout()))) qFatal("connect failed"); -// if (!connect(this, SIGNAL(finished()), SLOT(threadFinished()))) -// qFatal("connect failed"); + if (!connect(this, SIGNAL(finished()), SLOT(threadFinished()))) + qFatal("connect failed"); #endif } virtual ~Interface() {}