summaryrefslogtreecommitdiff
path: root/src/plugins/qmlinspector/qmlinspectormode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmlinspector/qmlinspectormode.cpp')
-rw-r--r--src/plugins/qmlinspector/qmlinspectormode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmlinspector/qmlinspectormode.cpp b/src/plugins/qmlinspector/qmlinspectormode.cpp
index 7af3a4fdb9..a55e19df2e 100644
--- a/src/plugins/qmlinspector/qmlinspectormode.cpp
+++ b/src/plugins/qmlinspector/qmlinspectormode.cpp
@@ -160,9 +160,9 @@ QmlInspectorMode::QmlInspectorMode(QObject *parent)
setWidget(createModeWindow());
- setName(tr("QML Inspect"));
+ setDisplayName(tr("QML Inspect"));
setIcon(QIcon(":/qmlinspector/images/logo.png"));
- setUniqueModeName("QML_INSPECT_MODE");
+ setId(QLatin1String("QML_INSPECT_MODE"));
}
void QmlInspectorMode::connectToViewer()