UI: Minor fix of previous commit.

This commit is contained in:
Nodir Temirkhodjaev 2021-07-27 18:21:34 +03:00
parent cf13cdf6e9
commit 5f7c9de4b0

View File

@ -9,7 +9,7 @@ namespace {
void checkThread()
{
#ifndef QT_NO_DEBUG
#ifdef QT_DEBUG
static const Qt::HANDLE g_mainThreadId = QThread::currentThreadId();
const Qt::HANDLE threadId = QThread::currentThreadId();