summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/qml/qmlinspectoragent.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-10-05 05:27:30 +0200
committerhjk <hjk@qt.io>2020-10-05 08:46:27 +0000
commitfcaa6801cf609a0ecda64937d38096ecfb1c357f (patch)
tree5bd1cc5133835f406206cf2ee365c9c0117d1e46 /src/plugins/debugger/qml/qmlinspectoragent.cpp
parentf4beb6314ce6bd86268057137dc935ed8b6a636d (diff)
downloadqt-creator-fcaa6801cf609a0ecda64937d38096ecfb1c357f.tar.gz
Utils: Start replacing SavedActions by QAction or Utils::Aspect
First mechanical step here is to derive SavedActions from BaseAspect instead of QAction. Change-Id: I2ec95883b825462c1d867f83cc2b3bd2c2732055 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/qml/qmlinspectoragent.cpp')
-rw-r--r--src/plugins/debugger/qml/qmlinspectoragent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/qml/qmlinspectoragent.cpp b/src/plugins/debugger/qml/qmlinspectoragent.cpp
index 35656bef0b..2e8ee54563 100644
--- a/src/plugins/debugger/qml/qmlinspectoragent.cpp
+++ b/src/plugins/debugger/qml/qmlinspectoragent.cpp
@@ -68,7 +68,7 @@ QmlInspectorAgent::QmlInspectorAgent(QmlEngine *engine, QmlDebugConnection *conn
: m_qmlEngine(engine)
, m_inspectorToolsContext("Debugger.QmlInspector")
, m_selectAction(new QAction(this))
- , m_showAppOnTopAction(action(ShowAppOnTop))
+ , m_showAppOnTopAction(action(ShowAppOnTop)->action())
{
m_debugIdToIname.insert(WatchItem::InvalidId, "inspect");
connect(action(ShowQmlObjectTree),