Clang: reduce 0-as-nullptr warnings

This commit is contained in:
Adriaan de Groot 2017-09-20 09:16:15 -04:00
parent 337903db09
commit 34761c4214
3 changed files with 7 additions and 7 deletions

View file

@ -357,7 +357,7 @@ RequirementsChecker::checkHasPower()
QDBusInterface upowerIntf( UPOWER_SVC_NAME,
UPOWER_PATH,
UPOWER_INTF_NAME,
QDBusConnection::systemBus(), 0 );
QDBusConnection::systemBus() );
bool onBattery = upowerIntf.property( "OnBattery" ).toBool();