diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-10-22 10:59:32 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-28 08:49:38 +0100 |
commit | 2e05a1578428fd8268512e12d88d90e93dcf5dff (patch) | |
tree | 327e12635d172b12d8d126197eec54d50dff5b72 /src/corelib/thread/qthread_win.cpp | |
parent | 5a9de4c6768e413a56f0e7b6c67ea11db761cd58 (diff) |
QtCore: Make more signals private.
Change-Id: Ida190e8b9c1ff47a6f54a5bf68673ab50a2f1bfe
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/corelib/thread/qthread_win.cpp')
-rw-r--r-- | src/corelib/thread/qthread_win.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/thread/qthread_win.cpp b/src/corelib/thread/qthread_win.cpp index 56e58fbcc3..cd627d10c9 100644 --- a/src/corelib/thread/qthread_win.cpp +++ b/src/corelib/thread/qthread_win.cpp @@ -336,7 +336,7 @@ unsigned int __stdcall QT_ENSURE_STACK_ALIGNED_FOR_SSE QThreadPrivate::start(voi thr->metaObject()->className() : objectName.constData()); #endif - emit thr->started(); + emit thr->started(QThread::QPrivateSignal()); QThread::setTerminationEnabled(true); thr->run(); @@ -354,7 +354,7 @@ void QThreadPrivate::finish(void *arg, bool lockAnyway) d->priority = QThread::InheritPriority; void **tls_data = reinterpret_cast<void **>(&d->data->tls); locker.unlock(); - emit thr->finished(); + emit thr->finished(QThread::QPrivateSignal()); QCoreApplication::sendPostedEvents(0, QEvent::DeferredDelete); QThreadStorageData::finish(tls_data); locker.relock(); |