From: APTX Date: Thu, 31 Dec 2009 23:34:30 +0000 (+0100) Subject: Wait for the state machine to start. X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=657fdf1db973e4d606b877970bc6d3f50fdccdd8;p=aniplayer-old.git Wait for the state machine to start. --- diff --git a/lib/anidbudpclient/client.cpp b/lib/anidbudpclient/client.cpp index 3369bf0..57ab5f4 100644 --- a/lib/anidbudpclient/client.cpp +++ b/lib/anidbudpclient/client.cpp @@ -127,6 +127,8 @@ qDebug() << "Api instance init!"; // ------------ END Methods ------------------- stateMachine->start(); + // Process the event that starts the state machine. + QCoreApplication::processEvents(); } Client::~Client()