From 657fdf1db973e4d606b877970bc6d3f50fdccdd8 Mon Sep 17 00:00:00 2001 From: APTX Date: Fri, 1 Jan 2010 00:34:30 +0100 Subject: [PATCH] Wait for the state machine to start. --- lib/anidbudpclient/client.cpp | 2 ++ 1 file changed, 2 insertions(+) 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() -- 2.52.0