QtDBus: use new qEnvironmentVariableIsEmpty()

Change-Id: If983083cc7f360199716a060464344340c089236
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Marc Mutz 2012-08-07 00:11:00 +02:00 committed by Qt by Nokia
parent 0bd21a8111
commit 7fa8f1efbc

View File

@ -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