mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
feat: display address in gateway menu item
This commit is contained in:
parent
cc67de3a2b
commit
f6d06ed978
@ -153,7 +153,7 @@ void GPClient::populateGatewayMenu()
|
|||||||
if (g.name() == currentGatewayName) {
|
if (g.name() == currentGatewayName) {
|
||||||
iconImage = ":/images/radio_selected.png";
|
iconImage = ":/images/radio_selected.png";
|
||||||
}
|
}
|
||||||
gatewaySwitchMenu->addAction(QIcon(iconImage), g.name())->setData(i);
|
gatewaySwitchMenu->addAction(QIcon(iconImage), QString("%1 (%2)").arg(g.name(), g.address()))->setData(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user