diff options
author | Saturneric <[email protected]> | 2021-06-10 08:48:26 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-10 08:48:26 +0000 |
commit | 19a2e16f3aa5c237bbc690143fe3f0bfb8a6affa (patch) | |
tree | 8cfe4f0c64fa49f645bd979eaa6688ce032d2e35 /src/gpg/GpgContext.cpp | |
parent | Fixed. (diff) | |
download | GpgFrontend-19a2e16f3aa5c237bbc690143fe3f0bfb8a6affa.tar.gz GpgFrontend-19a2e16f3aa5c237bbc690143fe3f0bfb8a6affa.zip |
Adjust settings.
Signed-off-by: Saturneric <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | src/gpg/GpgContext.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gpg/GpgContext.cpp b/src/gpg/GpgContext.cpp index a6be9c3c..4366d967 100644 --- a/src/gpg/GpgContext.cpp +++ b/src/gpg/GpgContext.cpp @@ -65,18 +65,6 @@ namespace GpgME { err = gpgme_new(&mCtx); checkErr(err); - QSettings qSettings; - QString accKeydbPath = qSettings.value("gpgpaths/keydbpath").toString(); - QString qGpgKeys = appPath + "/keydb/" + accKeydbPath; - - if (accKeydbPath != "") { - if (!QDir(qGpgKeys).exists()) { - QMessageBox::critical(nullptr, tr("keydb path"), - tr("Didn't find keydb directory. Switching to gpg4usb's default keydb directory for this session.")); - qGpgKeys = appPath + "/keydb"; - } - } - gpgme_engine_info_t engineInfo; engineInfo = gpgme_ctx_get_engine_info(mCtx); |