thread: Thread 构造函数用 n 给 idx 赋值

This commit is contained in:
Calcitem 2020-10-21 23:18:07 +08:00
parent 6f6f2ee349
commit a08dfbbfa3
1 changed files with 1 additions and 1 deletions

View File

@ -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