qt: Add dummy context to make mixin happy

* lang/qt/qgpgmegpgcardjob.cpp (QGpgMEGpgCardJob): Add context.
--
Otherwise it fails with an assert.
This commit is contained in:
Andre Heinecke 2020-02-12 15:50:36 +01:00
parent 77feaa4510
commit 9ca679c150
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -53,7 +53,8 @@ using namespace GpgME;
using namespace QGpgME; using namespace QGpgME;
QGpgMEGpgCardJob::QGpgMEGpgCardJob() QGpgMEGpgCardJob::QGpgMEGpgCardJob()
: mixin_type(nullptr) : mixin_type(/* needed for the mixer */
Context::createForEngine(GpgME::SpawnEngine).release())
{ {
lateInitialization(); lateInitialization();
} }