diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2017-10-25 10:25:17 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2017-10-26 07:10:30 +0000 |
commit | 8e6e43ce170d2856103f437acb20a7b53156c618 (patch) | |
tree | 23e1c24d116a664e85246f53aabd6489bfbc94e5 /src/Authoring/Studio/Palettes/Action/ActionView.cpp | |
parent | 2e67849c0f11c04aaaff8d62864a8174029476a0 (diff) |
Fix mouse helper lost in refactoring
Automerging seems to have inexplicably lost mouse helper from
actionview, bring it back.
Change-Id: I9eeda1eb7305a92bd3d3f17ec88b25f206b52b07
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Palettes/Action/ActionView.cpp')
-rw-r--r-- | src/Authoring/Studio/Palettes/Action/ActionView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Authoring/Studio/Palettes/Action/ActionView.cpp b/src/Authoring/Studio/Palettes/Action/ActionView.cpp index 5d7d7279..30e39296 100644 --- a/src/Authoring/Studio/Palettes/Action/ActionView.cpp +++ b/src/Authoring/Studio/Palettes/Action/ActionView.cpp @@ -821,6 +821,7 @@ void ActionView::initialize() rootContext()->setContextProperty("_actionView"_L1, this); rootContext()->setContextProperty("_resDir"_L1, resourceImageUrl()); rootContext()->setContextProperty("_tabOrderHandler"_L1, tabOrderHandler()); + rootContext()->setContextProperty("_mouseHelper"_L1, &m_mouseHelper); qmlRegisterUncreatableType<qt3dsdm::HandlerArgumentType>("Qt3DStudio", 1, 0, "HandlerArgumentType", "HandlerArgumentType is an enum container"_L1); qmlRegisterUncreatableType<qt3dsdm::DataModelDataType>("Qt3DStudio", 1, 0, "DataModelDataType", |