diff options
Diffstat (limited to 'src/plugins/designer/formeditorw.cpp')
-rw-r--r-- | src/plugins/designer/formeditorw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/designer/formeditorw.cpp b/src/plugins/designer/formeditorw.cpp index 57aa038ce2..eaf9e7da49 100644 --- a/src/plugins/designer/formeditorw.cpp +++ b/src/plugins/designer/formeditorw.cpp @@ -749,7 +749,7 @@ void FormEditorW::currentEditorChanged(Core::IEditor *editor) if (Designer::Constants::Internal::debug) qDebug() << Q_FUNC_INFO << editor << " of " << m_fwm->formWindowCount(); - if (editor && editor->id() == Core::Id(Constants::K_DESIGNER_XML_EDITOR_ID)) { + if (editor && editor->id() == Constants::K_DESIGNER_XML_EDITOR_ID) { FormWindowEditor *xmlEditor = qobject_cast<FormWindowEditor *>(editor); QTC_ASSERT(xmlEditor, return); ensureInitStage(FullyInitialized); |