Windows: Fix verbose debug output

The isEmpty() check for environment variable contents was inverted.

Change-Id: Ic220f4eed9e45539d6e89fe1e0d37976f7757eda
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Miikka Heikkinen 2012-05-24 13:55:34 +03:00 committed by Qt by Nokia
parent d74c45a95b
commit 3c3e938c82

View File

@ -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");