Commit c7592a6f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove QT_CHECK

parent 1d46be8b
......@@ -61,11 +61,7 @@ void FakeServer::startAndWait()
{
start();
// this will block until the event queue starts
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
QMetaObject::invokeMethod(this, &FakeServer::started, Qt::BlockingQueuedConnection);
#else
QMetaObject::invokeMethod(this, "started", Qt::BlockingQueuedConnection);
#endif
}
void FakeServer::dataAvailable()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment