forked from qt-creator/qt-creator
QmlEditorWidgets: Add missing braces
Change-Id: I4e12c05abb7b50593807e6306318c983d5e58432 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
4a71b6c035
commit
c5bf80d026
@@ -218,9 +218,10 @@ 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)
|
||||||
|
|||||||
Reference in New Issue
Block a user