Support for new plasma-firewall kcm module for Plasma

This commit is contained in:
Silvan Calarco 2021-06-18 13:55:00 +02:00
parent 76e96a26b0
commit e7499ad3e2

View File

@ -210,7 +210,7 @@ class SystemTrayIcon(QSystemTrayIcon):
def networkFirewallConfigure(self):
if desktop_session == 'kde' or desktop_session == 'plasma':
networkFirewallConfigureProcess.execute("/opt/kde/bin/kcmshell4", list(set(['ufw'])))
networkFirewallConfigureProcess.execute("/usr/bin/kcmshell5", list(set(['firewall'])))
else:
networkFirewallConfigureProcess.execute("/usr/bin/gufw")