Commit 8801f798 authored by Ralf Habacker's avatar Ralf Habacker

Coverity check CID 71444: Dereference after null check (FORWARD_NULL)

Passing null pointer this->m_nameWidget to removeWidget, which
dereferences it.

parent ce856e56
......@@ -3082,7 +3082,7 @@ void AssociationWidget::slotMenuSelection(QAction* action)
if (newText != oldText) {
if (FloatingTextWidget::isTextValid(newText)) {
} else {
} else if (m_nameWidget) {
m_nameWidget = NULL;
Markdown is supported
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