On Sunday 26 October 2014 16:34:29 Roland Winklmeier wrote:
> The easiest fix would be to make QTestEventLoop::exitLoop() thread-safe
> by adding the if condition at the beginning of the method:
>
> if (thread() != QThread::currentThread())
> {
> QMetaObject::invokeMethod(this, "exitLoop", Qt::QueuedConnection);
> return;
> }
Sounds good.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development