Skip to content

IncidenceChanger: fix crash due to redundant deletion of handler

David Faure requested to merge work/dfaure/delete-again into master

The same two lines of code are executed again after the switch (and this code path ends with "break", not "return").

In Qt5 nullptr->deleteLater() only led to a runtime warning about "null event receiver", but in Qt6 in crashes because of if(d->deleteLaterCalled) in qobject.cpp

Merge request reports