diff options
author | Andre Heinecke <[email protected]> | 2020-02-12 14:50:36 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2020-02-12 14:50:36 +0000 |
commit | 9ca679c15054fbc1cc20e428a6ddf6a67dd0491e (patch) | |
tree | e836b38773459417c3ce317fb498ec8e10c4d9cd | |
parent | qt: Add GpgCardJob following the job pattern (diff) | |
download | gpgme-9ca679c15054fbc1cc20e428a6ddf6a67dd0491e.tar.gz gpgme-9ca679c15054fbc1cc20e428a6ddf6a67dd0491e.zip |
qt: Add dummy context to make mixin happy
* lang/qt/qgpgmegpgcardjob.cpp (QGpgMEGpgCardJob): Add context.
--
Otherwise it fails with an assert.
-rw-r--r-- | lang/qt/src/qgpgmegpgcardjob.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/qt/src/qgpgmegpgcardjob.cpp b/lang/qt/src/qgpgmegpgcardjob.cpp index a01ae604..0b0ce3ea 100644 --- a/lang/qt/src/qgpgmegpgcardjob.cpp +++ b/lang/qt/src/qgpgmegpgcardjob.cpp @@ -53,7 +53,8 @@ using namespace GpgME; using namespace QGpgME; QGpgMEGpgCardJob::QGpgMEGpgCardJob() - : mixin_type(nullptr) + : mixin_type(/* needed for the mixer */ + Context::createForEngine(GpgME::SpawnEngine).release()) { lateInitialization(); } |