QmlEditorWidgets: Add missing braces

Change-Id: I4e12c05abb7b50593807e6306318c983d5e58432
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Orgad Shaneh
2014-05-19 18:24:06 +03:00
committed by Orgad Shaneh
parent 4a71b6c035
commit c5bf80d026

View File

@@ -218,10 +218,11 @@ ContextPaneWidget::ContextPaneWidget(QWidget *parent) : DragWidget(parent), m_cu
ContextPaneWidget::~ContextPaneWidget() ContextPaneWidget::~ContextPaneWidget()
{ {
//if the pane was never activated the widget is not in a widget tree //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(); delete m_bauhausColorDialog.data();
m_bauhausColorDialog = 0; m_bauhausColorDialog = 0;
} }
}
void ContextPaneWidget::activate(const QPoint &pos, const QPoint &alternative, const QPoint &alternative2, bool pinned) void ContextPaneWidget::activate(const QPoint &pos, const QPoint &alternative, const QPoint &alternative2, bool pinned)
{ {