diff --git a/src/plugins/platforms/windows/qwindowscontext.cpp b/src/plugins/platforms/windows/qwindowscontext.cpp index 0a1ca138ad..8601d60761 100644 --- a/src/plugins/platforms/windows/qwindowscontext.cpp +++ b/src/plugins/platforms/windows/qwindowscontext.cpp @@ -296,7 +296,7 @@ QWindowsContext::QWindowsContext() : #endif m_instance = this; const QByteArray bv = qgetenv("QT_QPA_VERBOSE"); - if (bv.isEmpty()) { + if (!bv.isEmpty()) { const char *v = bv.data(); QWindowsContext::verboseIntegration = componentVerbose(v, "integration"); QWindowsContext::verboseWindows = componentVerbose(v, "windows");