feat: Change gateway settings in NetworkManager
This commit is contained in:
@@ -20,7 +20,7 @@ IpSettingsDialog::IpSettingsDialog(QWidget* aParent, Qt::WindowFlags aFlag)
|
||||
, mGateway(new ULineEdit(this))
|
||||
, mThread(nullptr)
|
||||
{
|
||||
IpAddr addr = JsonObject::Instance()->getDefaultIpAddr();
|
||||
IpAddr addr = NetworkManager::getInstance()->getDefaultIpAddr();
|
||||
mDhcpButton->setChecked(addr.dhcp);
|
||||
mIpAddress->setText(addr.ip);
|
||||
mSubnetMask->setText(addr.mask);
|
||||
|
||||
Reference in New Issue
Block a user