diff options
author | Fabian Müller <fmueller@owncloud.com> | 2022-03-10 02:36:32 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2022-03-10 13:17:55 +0300 |
commit | 796a57b66332cd1823445cf2f50ea7899c9e7e11 (patch) | |
tree | e8c61f70d639cd14122de2d83a46ecf8f55f1fe9 /src/gui/proxyauthhandler.cpp | |
parent | cd08bd136704c5652566ca69be6310e161fb62df (diff) |
Drop secondary factory
C++17 seems to allow using move construction of QSettings. Tested against a few common configuration values as well as the proxy specific stuff.
Diffstat (limited to 'src/gui/proxyauthhandler.cpp')
-rw-r--r-- | src/gui/proxyauthhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/proxyauthhandler.cpp b/src/gui/proxyauthhandler.cpp index 89ad107e6..66ef36b7a 100644 --- a/src/gui/proxyauthhandler.cpp +++ b/src/gui/proxyauthhandler.cpp @@ -42,7 +42,7 @@ ProxyAuthHandler::ProxyAuthHandler() _dialog = new ProxyAuthDialog(); _configFile.reset(new ConfigFile); - _settings.reset(ConfigFile::makeQSettingsPtr()); + _settings.reset(new QSettings(ConfigFile::makeQSettings())); _settings->beginGroup(QLatin1String("Proxy")); _settings->beginGroup(QLatin1String("Credentials")); } |