aboutsummaryrefslogtreecommitdiff
path: root/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'context.cpp')
-rw-r--r--context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/context.cpp b/context.cpp
index 5bb0f44..ad5c2c9 100644
--- a/context.cpp
+++ b/context.cpp
@@ -5,8 +5,8 @@ Context::Context(QObject *parent)
{
}
-Context::Context(dc_context_t *context)
- : QObject(nullptr)
+Context::Context(QObject *parent, dc_context_t *context)
+ : QObject(parent)
, m_context(context)
{
}