aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/utils
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-18 20:13:31 +0000
committersaturneric <[email protected]>2025-04-18 20:13:31 +0000
commit46321c6db1ec2bccdbbc19638584a3dd63cbb49b (patch)
treeba9ca11bfa2af580978738f26b62cb0ca88d662d /src/core/utils
parentMerge branch 'develop' (diff)
downloadGpgFrontend-46321c6db1ec2bccdbbc19638584a3dd63cbb49b.tar.gz
GpgFrontend-46321c6db1ec2bccdbbc19638584a3dd63cbb49b.zip
fix: make sure gpg-agent is running after init
Diffstat (limited to 'src/core/utils')
-rw-r--r--src/core/utils/GpgUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/utils/GpgUtils.cpp b/src/core/utils/GpgUtils.cpp
index d8f147bb..c8f58889 100644
--- a/src/core/utils/GpgUtils.cpp
+++ b/src/core/utils/GpgUtils.cpp
@@ -294,9 +294,9 @@ auto GetCanonicalKeyDatabasePath(const QDir& app_path,
QFileInfo info(target_path);
if (!info.exists()) {
- LOG_W() << "key database not exists:" << info.canonicalFilePath()
+ LOG_W() << "key database not exists:" << info.absoluteFilePath()
<< ", making a new directory...";
- QDir().mkdir(info.canonicalFilePath());
+ QDir().mkdir(info.absoluteFilePath());
}
if (VerifyKeyDatabasePath(info)) {