thread: Thread 构造函数用 n 给 idx 赋值
This commit is contained in:
parent
6f6f2ee349
commit
a08dfbbfa3
|
@ -47,7 +47,7 @@ Thread::Thread(size_t n
|
|||
, QObject *parent
|
||||
#endif
|
||||
) :
|
||||
stdThread(&Thread::idle_loop, this),
|
||||
idx(n), stdThread(&Thread::idle_loop, this),
|
||||
#ifdef QT_UI
|
||||
QObject(parent),
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue