OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d86136
)
remove now incorrect comment in QThreadPrivate::start()
author
Ivailo Monev
<xakepa10@gmail.com>
Sat, 23 Jan 2021 18:15:38 +0000
(20:15 +0200)
committer
Ivailo 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
patch
|
blob
|
history
diff --git
a/src/core/thread/qthread_unix.cpp
b/src/core/thread/qthread_unix.cpp
index
24b8ec6
..
9bdd6c9
100644
(file)
--- a/
src/core/thread/qthread_unix.cpp
+++ b/
src/core/thread/qthread_unix.cpp
@@
-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();