summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/subsurface-qt/SettingsObjectWrapper.cpp')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
index 417b90411..009ca6403 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -866,7 +866,7 @@ int ProxySettings::port() const
return prefs.proxy_port;
}
-short ProxySettings::auth() const
+bool ProxySettings::auth() const
{
return prefs.proxy_auth;
}
@@ -915,7 +915,7 @@ void ProxySettings::setPort(int value)
emit portChanged(value);
}
-void ProxySettings::setAuth(short value)
+void ProxySettings::setAuth(bool value)
{
if (value == prefs.proxy_auth)
return;