aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/qml
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-06-26 13:59:38 +0200
committerhjk <hjk@qt.io>2020-07-06 11:15:18 +0000
commite1c88116b397ecac2ef0f0678a419790a3e40402 (patch)
tree830be4b2f1aabad0522c7e01287ec9197b55e4cf /src/plugins/debugger/qml
parentc9eedbe0f387f33e5e455af03a795d2114528543 (diff)
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 (cherry picked from commit 430a33dcd9ac80ddb848e41f8f059102857c88aa) Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/debugger/qml')
-rw-r--r--src/plugins/debugger/qml/qmlinspectoragent.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/debugger/qml/qmlinspectoragent.cpp b/src/plugins/debugger/qml/qmlinspectoragent.cpp
index 033ce596522..4558c7fdd0a 100644
--- a/src/plugins/debugger/qml/qmlinspectoragent.cpp
+++ b/src/plugins/debugger/qml/qmlinspectoragent.cpp
@@ -711,10 +711,10 @@ void QmlInspectorAgent::toolsClientStateChanged(QmlDebugClient::State state)
if (state == QmlDebugClient::Enabled) {
Core::ICore::addAdditionalContext(m_inspectorToolsContext);
Core::ActionManager::registerAction(m_selectAction,
- Core::Id(Constants::QML_SELECTTOOL),
+ Utils::Id(Constants::QML_SELECTTOOL),
m_inspectorToolsContext);
Core::ActionManager::registerAction(m_showAppOnTopAction,
- Core::Id(Constants::QML_SHOW_APP_ON_TOP),
+ Utils::Id(Constants::QML_SHOW_APP_ON_TOP),
m_inspectorToolsContext);
enableTools(m_qmlEngine->state() == InferiorRunOk);
@@ -723,9 +723,9 @@ void QmlInspectorAgent::toolsClientStateChanged(QmlDebugClient::State state)
} else {
enableTools(false);
- Core::ActionManager::unregisterAction(m_selectAction, Core::Id(Constants::QML_SELECTTOOL));
+ Core::ActionManager::unregisterAction(m_selectAction, Utils::Id(Constants::QML_SELECTTOOL));
Core::ActionManager::unregisterAction(m_showAppOnTopAction,
- Core::Id(Constants::QML_SHOW_APP_ON_TOP));
+ Utils::Id(Constants::QML_SHOW_APP_ON_TOP));
Core::ICore::removeAdditionalContext(m_inspectorToolsContext);
}
}