From 2f4ac3deb90e56732e193b7dd206f30d097b3783 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 28 Mar 2020 19:43:01 +0200 Subject: [PATCH] Fix possible cause of crashes. --- .../vtools/tools/drawTools/operation/vabstractoperation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vtools/tools/drawTools/operation/vabstractoperation.cpp b/src/libs/vtools/tools/drawTools/operation/vabstractoperation.cpp index e3b72e2fa..cda19cca6 100644 --- a/src/libs/vtools/tools/drawTools/operation/vabstractoperation.cpp +++ b/src/libs/vtools/tools/drawTools/operation/vabstractoperation.cpp @@ -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 i(operatedObjects); while (i.hasNext())