[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.
main
Kevin Kofler 8 years ago
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…
Cancel
Save