summaryrefslogtreecommitdiffstats
path: root/tutorial/t15/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/t15/main.cpp')
-rw-r--r--tutorial/t15/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tutorial/t15/main.cpp b/tutorial/t15/main.cpp
index 61febaa..72736df 100644
--- a/tutorial/t15/main.cpp
+++ b/tutorial/t15/main.cpp
@@ -57,11 +57,11 @@ void MainObject::buttonClicked()
eventLoop->exit(0);
}
-#define SET_UP_WORKER(x, y, z) \
- WorkerObject x; \
- x.threadFriendlyName = y; \
- x.moveToThread(&z); \
- QObject::connect(&x, SIGNAL(displayMessage(QString,QString)), &mainobject, SLOT(emitMessage(QString,QString))); \
+#define SET_UP_WORKER(x, y, z) \
+ WorkerObject x; \
+ x.threadFriendlyName = y; \
+ x.moveToThread(&z); \
+ QObject::connect(&x, SIGNAL(displayMessage(QString,QString)), &mainobject, SLOT(emitMessage(QString,QString))); \
QTimer::singleShot(0, &x, SLOT(run()));
int main( int argc, char **argv )