From fba99e08943b4fb3a12a6e239484d7de2909fd09 Mon Sep 17 00:00:00 2001 From: Fanda Vacek Date: Wed, 12 Jul 2023 15:17:13 +0200 Subject: [PATCH] App crash on sync oris entries fixed --- quickevent/app/quickevent/plugins/Oris/src/orisimporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickevent/app/quickevent/plugins/Oris/src/orisimporter.cpp b/quickevent/app/quickevent/plugins/Oris/src/orisimporter.cpp index c3778d9c0..55dc69f91 100644 --- a/quickevent/app/quickevent/plugins/Oris/src/orisimporter.cpp +++ b/quickevent/app/quickevent/plugins/Oris/src/orisimporter.cpp @@ -662,7 +662,7 @@ void OrisImporter::syncEventEntries(int event_id, std::function success auto td = QVariantList() << QStringLiteral("td") << field_string(doc, fldn); tr.insert(tr.length(), td); } - deleted_entries_rows.insert(new_entries_rows.length(), tr); + deleted_entries_rows.insert(deleted_entries_rows.length(), tr); } } QVariantList html_body = QVariantList() << QStringLiteral("body");