[welcome] Fix RequirementsChecker::checkHasInternet().
The NetworkManager property is called "State", not "state". The call was always failing, and the method was always returning true as a result.
This commit is contained in:
parent
62bded1447
commit
6eb512ab49
@ -347,7 +347,7 @@ RequirementsChecker::checkHasInternet()
|
||||
QDBusConnection::systemBus(), 0 );
|
||||
|
||||
bool ok = false;
|
||||
int nmState = nmIntf.property( "state" ).toInt( &ok );
|
||||
int nmState = nmIntf.property( "State" ).toInt( &ok );
|
||||
|
||||
if ( !ok || !nmIntf.isValid() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user