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

Remove check for BinaryAndFineGrainedIdentify feature in GpgME

The feature is available since GpgME 1.7 and we require GpgME 1.16.
parent 26f35b7d
Pipeline #200145 failed with stage
in 4 minutes and 49 seconds
......@@ -82,9 +82,7 @@ DecryptVerifyFilesCommand::Private::Private(DecryptVerifyFilesCommand *qq, KeyLi
shared_qq(qq, [](DecryptVerifyFilesCommand*){})
{
FileOperationsPreferences prefs;
if (!forceManualMode &&
GpgME::hasFeature(0, GpgME::BinaryAndFineGrainedIdentify) &&
prefs.autoDecryptVerify()) {
if (!forceManualMode && prefs.autoDecryptVerify()) {
mController = new AutoDecryptVerifyFilesController();
} else {
mController = new DecryptVerifyFilesController();
......
......@@ -276,13 +276,6 @@ void CryptoOperationsConfigWidget::setupGui()
baseLay->addStretch(1);
if (!GpgME::hasFeature(0, GpgME::BinaryAndFineGrainedIdentify)) {
/* Auto handling requires a working identify in GpgME.
* so that classify in kleoaptra can correctly detect the input.*/
mAutoDecryptVerifyCB->setVisible(false);
}
for (auto cb : findChildren<QCheckBox *>()) {
connect(cb, &QCheckBox::toggled, this, &CryptoOperationsConfigWidget::changed);
}
......
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