OSDN Git Service

remove now incorrect comment in QThreadPrivate::start()
authorIvailo Monev <xakepa10@gmail.com>
Sat, 23 Jan 2021 18:15:38 +0000 (20:15 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Sat, 23 Jan 2021 18:15:38 +0000 (20:15 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/thread/qthread_unix.cpp

index 24b8ec6..9bdd6c9 100644 (file)
@@ -165,7 +165,6 @@ void *QThreadPrivate::start(void *arg)
     QThread *thr = reinterpret_cast<QThread *>(arg);
     QThreadData *data = QThreadData::get2(thr);
 
-    // do we need to reset the thread priority?
     thr->setPriority(thr->d_func()->priority);
 
     data->threadId = (Qt::HANDLE)pthread_self();