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