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:
bb4d382
)
correct warning message in QThread::terminate()
author
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 25 Mar 2020 17:19:18 +0000
(17:19 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 25 Mar 2020 17:19:18 +0000
(17:19 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
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
e91383f
..
1168f5a
100644
(file)
--- a/
src/core/thread/qthread_unix.cpp
+++ b/
src/core/thread/qthread_unix.cpp
@@
-450,7
+450,7
@@
void QThread::terminate()
int code = pthread_cancel(d->thread_id);
if (Q_UNLIKELY(code)) {
- qWarning("QThread::
start
: Thread termination error: %s",
+ qWarning("QThread::
terminate
: Thread termination error: %s",
qPrintable(qt_error_string(code)));
} else {
d->terminated = true;