Fix possible cause of crashes.

This commit is contained in:
Roman Telezhynskyi 2020-03-28 19:43:01 +02:00
parent 25bef8f227
commit 2f4ac3deb9

View File

@ -530,7 +530,7 @@ VAbstractOperation::VAbstractOperation(VAbstractPattern *doc, VContainer *data,
destination(destination),
operatedObjects()
{
connect(doc, &VAbstractPattern::UpdateToolTip, [this]()
connect(doc, &VAbstractPattern::UpdateToolTip, this, [this]()
{
QMapIterator<quint32, VAbstractSimple *> i(operatedObjects);
while (i.hasNext())