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:
parent
d74c45a95b
commit
3c3e938c82
@ -296,7 +296,7 @@ QWindowsContext::QWindowsContext() :
|
|||||||
#endif
|
#endif
|
||||||
m_instance = this;
|
m_instance = this;
|
||||||
const QByteArray bv = qgetenv("QT_QPA_VERBOSE");
|
const QByteArray bv = qgetenv("QT_QPA_VERBOSE");
|
||||||
if (bv.isEmpty()) {
|
if (!bv.isEmpty()) {
|
||||||
const char *v = bv.data();
|
const char *v = bv.data();
|
||||||
QWindowsContext::verboseIntegration = componentVerbose(v, "integration");
|
QWindowsContext::verboseIntegration = componentVerbose(v, "integration");
|
||||||
QWindowsContext::verboseWindows = componentVerbose(v, "windows");
|
QWindowsContext::verboseWindows = componentVerbose(v, "windows");
|
||||||
|
Loading…
Reference in New Issue
Block a user