Skip to content
Commit 16d6c4d8 authored by Stefan Brüns's avatar Stefan Brüns
Browse files

Clean up QPointer check in comment widget

The QPointer should never become null during exec, as it does not destroy
itself, and does not set WA_DeleteOnClose, so the check is just a
safeguard.

Verify the state just once (and crash in debug builds on failure), and
use QPointer::isNull() to avoid confusing code checkers.
parent bfbebd05
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