mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue