mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
Clang: reduce 0-as-nullptr warnings
This commit is contained in:
parent
337903db09
commit
34761c4214
3 changed files with 7 additions and 7 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue