]> Some of my projects - anidbudpclient.git/commitdiff
Wait for the state machine to start.
authorAPTX <mail@example.com>
Thu, 31 Dec 2009 23:34:30 +0000 (00:34 +0100)
committerAPTX <mail@example.com>
Thu, 31 Dec 2009 23:34:30 +0000 (00:34 +0100)
client.cpp

index 3369bf0e78f27ac66c1d69e37cbae0c4021f9ddc..57ab5f49bd65339e3a5ec2e9bb7a24a5bbd1a72d 100644 (file)
@@ -127,6 +127,8 @@ qDebug() << "Api instance init!";
        // ------------ END Methods -------------------
 
        stateMachine->start();
+       // Process the event that starts the state machine.
+       QCoreApplication::processEvents();
 }
 
 Client::~Client()