diff options
| author | saturneric <[email protected]> | 2026-09-22 21:18:54 +0200 |
|---|---|---|
| committer | saturneric <[email protected]> | 2026-09-22 21:18:54 +0200 |
| commit | 4dabcb5c04bd018d838e5191b299dc7d04929f21 (patch) | |
| tree | 9a872c9b0a71051093aec34b6ec364a2416b2e62 /src/m_key_server_sync/KeyServerList.cpp | |
| parent | refactor(gpg-info): migrate to module SDK APIs (diff) | |
| download | modules-4dabcb5c04bd018d838e5191b299dc7d04929f21.tar.gz modules-4dabcb5c04bd018d838e5191b299dc7d04929f21.zip | |
refactor(key-server-sync): migrate to SDK APIs
- use module-scoped storage and application user-agent providers
- replace legacy key export and import calls with SDK wrappers
- register and unregister settings pages through the SDK
- migrate GPG channel lookup and session cache operations
- declare storage capability in the module manifest
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()))); } /** |
