Initialize variable at better place

This commit is contained in:
Chocobo1
2020-06-26 09:22:59 +08:00
parent 40e432b127
commit 8ebb6dc559
3 changed files with 3 additions and 11 deletions

View File

@@ -103,8 +103,8 @@ namespace QtLP_Private
Qt::HANDLE getMutexHandle(int idx, bool doCreate);
bool waitMutex(Qt::HANDLE mutex, bool doBlock);
Qt::HANDLE wmutex;
Qt::HANDLE rmutex;
Qt::HANDLE wmutex = nullptr;
Qt::HANDLE rmutex = nullptr;
QVector<Qt::HANDLE> rmutexes;
QString mutexname;
#endif