summaryrefslogtreecommitdiff
path: root/lib/Daemon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Daemon.cpp')
-rw-r--r--lib/Daemon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Daemon.cpp b/lib/Daemon.cpp
index e9c7f22..1591456 100644
--- a/lib/Daemon.cpp
+++ b/lib/Daemon.cpp
@@ -72,7 +72,7 @@ bool Daemon::setProxy(const QString &http_proxy, const QString &ftp_proxy) {
return true;
else {
// ok no lucky...
- if ( polkit->getAuth(AUTH_SETPROXY) )
+ if ( polkit->getAuth(AUTH_SYSTEM_NETWORK_PROXY_CONFIGURE) )
return proxy->SetProxy(http_proxy, ftp_proxy).isValid();
else
return false;