Commit c5bf80d0 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

QmlEditorWidgets: Add missing braces



Change-Id: I4e12c05abb7b50593807e6306318c983d5e58432
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 4a71b6c0
......@@ -218,9 +218,10 @@ ContextPaneWidget::ContextPaneWidget(QWidget *parent) : DragWidget(parent), m_cu
ContextPaneWidget::~ContextPaneWidget()
{
//if the pane was never activated the widget is not in a widget tree
if (!m_bauhausColorDialog.isNull())
if (!m_bauhausColorDialog.isNull()) {
delete m_bauhausColorDialog.data();
m_bauhausColorDialog = 0;
}
}
void ContextPaneWidget::activate(const QPoint &pos, const QPoint &alternative, const QPoint &alternative2, bool pinned)
......
Supports Markdown
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