Adds immediate migration results

This commit is contained in:
torsten committed 2026-08-18 22:12:24 +02:00
1 parent ba4121728b
commit 6a2a0667ab
2395 files changed
+357322 -2524

No files matched your search

@@ -8,6 +8,7 @@
*/
#include "object_presentation.h"
#include <utility>
#include "initialization.h"
#include "dds_handler.h"
#include <ngldb/dbtransaction.h>
@@ -112,7 +113,7 @@ Core::FunctionReplyObject ObjectPresentation::updateObject(const PresentationMod
if (!m_mainHandler->db()->update(dbData))
return Core::FunctionReplyObject(m_data.id(), tr_lts("dds", "Error updating Presentation-data into database"));
for (const auto &content : qAsConst(m_content))
for (const auto &content : std::as_const(m_content))
{
if (m_mainHandler->db()->removePrePresentationContent(content.id()))
DEBUG_LOG(m_logger) << "Removed presentation content id " << content.id();