aboutsummaryrefslogtreecommitdiff
path: root/context.h
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2020-10-27 03:49:48 +0300
committerlink2xt <link2xt@testrun.org>2020-10-27 22:09:33 +0300
commitb542a4ed9f079db5c3ddcfae1eab594c61b421f1 (patch)
treec522912413789edd4a5fe170f50b4477fb91ecfb /context.h
parent4978bb0f6b77466391f74a97d1c5c3ec28a711f5 (diff)
downloadkdeltachat-b542a4ed9f079db5c3ddcfae1eab594c61b421f1.tar.gz
kdeltachat-b542a4ed9f079db5c3ddcfae1eab594c61b421f1.zip
Set parent for Context
This fixes application termination when account is selected.
Diffstat (limited to 'context.h')
-rw-r--r--context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/context.h b/context.h
index 91cc315..c063709 100644
--- a/context.h
+++ b/context.h
@@ -16,7 +16,7 @@ class Context : public QObject {
public:
explicit Context(QObject *parent = nullptr);
- explicit Context(dc_context_t *context);
+ explicit Context(QObject *parent, dc_context_t *context);
~Context();
Q_INVOKABLE void configure();