Commit c53e9783 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Don't use warning icon in notification when the user disconnects a VPN

The warning icon suggests that there is something wrong, but when the user clicks disconnect on a VPN there's nothing actually wrong

Use the same icon than for connecting to a VPN

(cherry picked from commit e6251cad)
parent c74a4e07
Pipeline #138994 passed with stage
in 1 minute and 28 seconds
......@@ -460,6 +460,9 @@ void Notification::onVpnConnectionStateChanged(NetworkManager::VpnConnection::St
if (state == NetworkManager::VpnConnection::Activated) {
} else if (state == NetworkManager::VpnConnection::Disconnected && reason == NetworkManager::VpnConnection::UserDisconnectedReason) {
// Don't show warning icon if the user explicitly disconnected
} else {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment