Fix captor operator [=] which needs to be written explciitly [this] in C++20.

This commit is contained in:
Andre Rummler
2026-09-28 23:01:42 +02:00
parent 7facb1cbf8
commit 574d6dcd56
8 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -1752,7 +1752,7 @@ void DiagramView::setEventInterface(DVEventInterface *event_interface)
{
if (m_event_interface) delete m_event_interface;
m_event_interface = event_interface;
connect(m_event_interface, &DVEventInterface::finish, this, [=](){delete this->m_event_interface; this->m_event_interface = nullptr;}, Qt::QueuedConnection);
connect(m_event_interface, &DVEventInterface::finish, this, [this](){delete this->m_event_interface; this->m_event_interface = nullptr;}, Qt::QueuedConnection);
}
/**