QtDBus: use new qEnvironmentVariableIsEmpty()
Change-Id: If983083cc7f360199716a060464344340c089236 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
0bd21a8111
commit
7fa8f1efbc
@ -69,7 +69,7 @@ bool qdbus_loadLibDBus()
|
||||
#ifndef QT_BOOTSTRAPPED
|
||||
#ifdef QT_BUILD_INTERNAL
|
||||
// this is to simulate a library load failure for our autotest suite.
|
||||
if (!qgetenv("QT_SIMULATE_DBUS_LIBFAIL").isEmpty())
|
||||
if (!qEnvironmentVariableIsEmpty("QT_SIMULATE_DBUS_LIBFAIL"))
|
||||
return false;
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user