From 9ca679c15054fbc1cc20e428a6ddf6a67dd0491e Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Wed, 12 Feb 2020 15:50:36 +0100 Subject: [PATCH] qt: Add dummy context to make mixin happy * lang/qt/qgpgmegpgcardjob.cpp (QGpgMEGpgCardJob): Add context. -- Otherwise it fails with an assert. --- lang/qt/src/qgpgmegpgcardjob.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }