Commit 1f99b507 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix warning about unused member variable



Change-Id: I8b180ac6414936b45063cd721a12b146b4203736
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 4e35683e
...@@ -53,7 +53,6 @@ ...@@ -53,7 +53,6 @@
namespace QmlDesigner { namespace QmlDesigner {
ModelNodeContextMenu::ModelNodeContextMenu(QmlModelView *view) : ModelNodeContextMenu::ModelNodeContextMenu(QmlModelView *view) :
m_view(view),
m_selectionContext(view) m_selectionContext(view)
{ {
} }
......
...@@ -49,11 +49,10 @@ public: ...@@ -49,11 +49,10 @@ public:
static void showContextMenu(QmlModelView *view, const QPoint &globalPosition, const QPoint &scenePosition, bool showSelection); static void showContextMenu(QmlModelView *view, const QPoint &globalPosition, const QPoint &scenePosition, bool showSelection);
private: private:
QmlModelView *m_view;
QPoint m_scenePos; QPoint m_scenePos;
SelectionContext m_selectionContext; SelectionContext m_selectionContext;
}; };
}; //QmlDesigner } // namespace QmlDesigner
#endif // MODELNODECONTEXTMENU_H #endif // MODELNODECONTEXTMENU_H
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