Commit 002ce80d authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Tell the key cache to use the configured refresh interval

Actual usage of the setting seems to have been lost in the past.

GnuPG-bug-id: 5791
parent 794e082c
Pipeline #125713 passed with stage
in 2 minutes and 40 seconds
......@@ -18,6 +18,7 @@
#include "kleopatra_options.h"
#include "systrayicon.h"
#include "settings.h"
#include "smimevalidationpreferences.h"
#include <smartcard/readerstatus.h>
#include <conf/configuredialog.h>
......@@ -157,6 +158,7 @@ public:
void setupKeyCache()
{
keyCache = KeyCache::mutableInstance();
keyCache->setRefreshInterval(SMimeValidationPreferences{}.refreshInterval());
watcher.reset(new FileSystemWatcher);
watcher->whitelistFiles(gnupgFileWhitelist());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment