mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04: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 );
|
QDBusConnection::systemBus(), 0 );
|
||||||
|
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
int nmState = nmIntf.property( "state" ).toInt( &ok );
|
int nmState = nmIntf.property( "State" ).toInt( &ok );
|
||||||
|
|
||||||
if ( !ok || !nmIntf.isValid() )
|
if ( !ok || !nmIntf.isValid() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue