--- a/src/documentmanager.cpp Sun Jun 26 20:27:04 2022 +0300 +++ b/src/documentmanager.cpp Sun Jun 26 20:54:09 2022 +0300 @@ -195,7 +195,7 @@ QSaveFile file{info->path}; file.setDirectWriteFallback(true); if (file.open(QSaveFile::WriteOnly)) { - ::save(info->model.get(), &file); + ::save(*info->model.get(), &file); const bool commitSucceeded = file.commit(); if (not commitSucceeded) { errors << QObject::tr("Could not save: %1").arg(file.errorString());