forked from qt-creator/qt-creator
QmlDesigner: code improvement
Change-Id: I986e98057b46d481707b00b715809a1c6c218646 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -30,10 +30,7 @@
|
|||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
|
||||||
SelectionContext::SelectionContext()
|
SelectionContext::SelectionContext() = default;
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
SelectionContext::SelectionContext(AbstractView *view) :
|
SelectionContext::SelectionContext(AbstractView *view) :
|
||||||
m_view(view)
|
m_view(view)
|
||||||
|
@@ -65,8 +65,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
QPointer<AbstractView> m_view;
|
QPointer<AbstractView> m_view;
|
||||||
ModelNode m_targetNode;
|
ModelNode m_targetNode;
|
||||||
bool m_showSelectionTools = false;
|
|
||||||
QPointF m_scenePosition;
|
QPointF m_scenePosition;
|
||||||
|
bool m_showSelectionTools = false;
|
||||||
bool m_toggled = false;
|
bool m_toggled = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user