diff --git a/src/ShellIntegration.cpp b/src/ShellIntegration.cpp index f0e1c72b..6fc197f3 100644 --- a/src/ShellIntegration.cpp +++ b/src/ShellIntegration.cpp @@ -53,6 +53,7 @@ static const int STATE_DISABLD = -1; //State QAtomicInt ShellIntegration::m_state(STATE_UNKNOWN); +QMutex ShellIntegration::m_mutex; //Macros #define REG_WRITE_STRING(KEY, STR) RegSetValueEx(key, NULL, NULL, REG_SZ, reinterpret_cast(STR.utf16()), (STR.size() + 1) * sizeof(wchar_t))