Skip to content
Commit c65cc920 authored by Frank Reininghaus's avatar Frank Reininghaus
Browse files

Make sure that m_selectionToggle is not 0 before calling deleteLater()

Commit 1938ad54 replaced delete by
deleteLater(). However, the latter cannot be used safely with null
pointers. This commit adds a safety check in order to make sure that
we do not get a crash.

Thanks to Christoph Feck for pointing out this issue.
parent 1938ad54
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment