fix a crash for weird destruction orders
This commit is contained in:
parent
64d049824f
commit
70770a83f8
|
@ -171,6 +171,10 @@ QxtWebTemplate::~QxtWebTemplate()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach(QxtWebTemplate *t, d->others.values()) {
|
||||
t->d->assignedTo.removeAll(this);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user