diff --git a/src/context.cpp b/src/context.cpp index e28ff5bc5..e7ed1b781 100644 --- a/src/context.cpp +++ b/src/context.cpp @@ -27,8 +27,9 @@ #include Context::Context(ISettings* settings) + : m_activeDocument(NULL) + , m_settings(settings) { - m_settings = settings; } Context::~Context()