diff options
Diffstat (limited to 'src/m_key_server_sync/KeyServerList.cpp')
| -rw-r--r-- | src/m_key_server_sync/KeyServerList.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/m_key_server_sync/KeyServerList.cpp b/src/m_key_server_sync/KeyServerList.cpp index 349de86..bbb9f7f 100644 --- a/src/m_key_server_sync/KeyServerList.cpp +++ b/src/m_key_server_sync/KeyServerList.cpp @@ -52,7 +52,8 @@ constexpr auto kOpenPGPServer = "https://keys.openpgp.org"; Q_GLOBAL_STATIC(QMutex, settings_mutex) auto GlobalSettings() -> QSettings* { - return qobject_cast<QSettings*>(static_cast<QObject*>(GFUIGlobalSettings())); + return qobject_cast<QSettings*>( + static_cast<QObject*>(GFStorageSettingsRoot(GFModuleSdkContext()))); } /** |
