--- a/src/documentmanager.cpp Mon Sep 23 14:06:36 2019 +0300 +++ b/src/documentmanager.cpp Thu Oct 03 11:45:44 2019 +0300 @@ -1,5 +1,10 @@ #include "documentmanager.h" +DocumentManager::DocumentManager(QObject* parent) : + QObject{parent} +{ +} + Model* DocumentManager::newModel() { openModels.emplace_back();