Commit 91cb9b04 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Remove StatesEditorWidget in StatesEditorView



Change-Id: I2d858ed2cd90f8e4297114cc47502b5a8d57f638
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 5e85fc17
......@@ -58,6 +58,11 @@ StatesEditorView::StatesEditorView(QObject *parent) :
// base state
}
StatesEditorView::~StatesEditorView()
{
delete m_statesEditorWidget.data();
}
WidgetInfo StatesEditorView::widgetInfo()
{
if (!m_statesEditorWidget)
......
......@@ -45,6 +45,7 @@ class StatesEditorView : public AbstractView {
public:
explicit StatesEditorView(QObject *parent = 0);
~StatesEditorView();
void renameState(int nodeId,const QString &newName);
bool validStateName(const QString &name) const;
......
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