qt5: emit started signal in qthread

Fixes #2651.
This commit is contained in:
Roman Iten 2018-01-22 13:22:49 +01:00 committed by Norman Feske
parent d0eacdd0d6
commit 9175d801e0

View File

@ -403,6 +403,7 @@ void *QThreadPrivate::start(void *arg)
#ifdef Q_OS_GENODE #ifdef Q_OS_GENODE
QThread::setTerminationEnabled(true); QThread::setTerminationEnabled(true);
emit thr->started(QThread::QPrivateSignal());
#else #else
#if (defined(Q_OS_LINUX) || defined(Q_OS_MAC) || defined(Q_OS_QNX)) #if (defined(Q_OS_LINUX) || defined(Q_OS_MAC) || defined(Q_OS_QNX))
{ {