Fix possible cause of crashes.
This commit is contained in:
parent
25bef8f227
commit
2f4ac3deb9
|
@ -530,7 +530,7 @@ VAbstractOperation::VAbstractOperation(VAbstractPattern *doc, VContainer *data,
|
||||||
destination(destination),
|
destination(destination),
|
||||||
operatedObjects()
|
operatedObjects()
|
||||||
{
|
{
|
||||||
connect(doc, &VAbstractPattern::UpdateToolTip, [this]()
|
connect(doc, &VAbstractPattern::UpdateToolTip, this, [this]()
|
||||||
{
|
{
|
||||||
QMapIterator<quint32, VAbstractSimple *> i(operatedObjects);
|
QMapIterator<quint32, VAbstractSimple *> i(operatedObjects);
|
||||||
while (i.hasNext())
|
while (i.hasNext())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user