Commit 20177db4 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Watch all relevant folders for changes

This adds the subfolder containing the secret keys to the list of folders
to watch for changes, so that Kleopatra also rereads the list of keys
when a secret key is added, changed or removed.

GnuPG-bug-id: 5546
parent f0b497b7
Pipeline #169013 passed with stage
in 4 minutes and 31 seconds
......@@ -32,7 +32,7 @@ option(DISABLE_KWATCHGNUPG "Don't build the kwatchgnupg tool [default=OFF]" OFF)
# Standalone build. Find / include everything necessary.
set(KF5_MIN_VERSION "5.93.0")
set(KMIME_VERSION "5.20.40")
set(LIBKLEO_VERSION "5.20.41")
set(LIBKLEO_VERSION "5.20.42")
set(QT_REQUIRED_VERSION "5.15.2")
set(GPGME_REQUIRED_VERSION "1.16.0")
......
......@@ -164,7 +164,7 @@ public:
watcher.reset(new FileSystemWatcher);
watcher->whitelistFiles(gnupgFileWhitelist());
watcher->addPath(gnupgHomeDirectory());
watcher->addPaths(gnupgFolderWhitelist());
watcher->setDelay(1000);
keyCache->addFileSystemWatcher(watcher);
keyCache->setGroupConfig(groupConfig);
......
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