diff options
author | Saturneric <[email protected]> | 2021-06-10 14:51:24 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-10 14:51:24 +0000 |
commit | 58927593ce9acf718ddcab3ed21484c12eec8575 (patch) | |
tree | c3081828b0aa123cd5f9b80ffd72ea5d0b277a13 /src/gpg/GpgContext.cpp | |
parent | Delete release/.DS_Store (diff) | |
parent | Adjust settings. (diff) | |
download | GpgFrontend-58927593ce9acf718ddcab3ed21484c12eec8575.tar.gz GpgFrontend-58927593ce9acf718ddcab3ed21484c12eec8575.zip |
Merge branch 'develop' of ssh://tunnel.bktus.com:30412/Saturneric/GPGFrontend into develop
Diffstat (limited to 'src/gpg/GpgContext.cpp')
-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); |