aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/utils/GpgUtils.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-01-26 18:40:43 +0000
committersaturneric <[email protected]>2025-01-26 18:40:43 +0000
commit731ec7339dc6f251a814d4aef59c05b1900ecf3f (patch)
tree3c0abf0dafb81578c97c0c9d169acbff99cb94d0 /src/core/utils/GpgUtils.cpp
parentfix: optimums unknown fpr verifying helper (diff)
downloadGpgFrontend-731ec7339dc6f251a814d4aef59c05b1900ecf3f.tar.gz
GpgFrontend-731ec7339dc6f251a814d4aef59c05b1900ecf3f.zip
fix: improve code compatibility
Diffstat (limited to 'src/core/utils/GpgUtils.cpp')
-rw-r--r--src/core/utils/GpgUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/utils/GpgUtils.cpp b/src/core/utils/GpgUtils.cpp
index c4478f6f..bfbee963 100644
--- a/src/core/utils/GpgUtils.cpp
+++ b/src/core/utils/GpgUtils.cpp
@@ -268,7 +268,7 @@ auto VerifyKeyDatabasePath(const QFileInfo& key_database_fs_path) -> bool {
key_database_fs_path.isDir();
}
-auto SearchKeyDatabasePath(const QList<QString>& candidate_paths) -> QString {
+auto SearchKeyDatabasePath(const QStringList& candidate_paths) -> QString {
for (const auto& path : candidate_paths) {
if (VerifyKeyDatabasePath(QFileInfo(path))) {
// return a unify path