Commit 566ae344 authored by Nikita Baryshnikov's avatar Nikita Baryshnikov Committed by hjk
Browse files

Fix soft assertion



as QmlJSTextEditorWidget was renamed to QmlJSEditorWidget

Change-Id: Iac493648804d919fa694809de84f8a4cc5392cbd
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 74c572b5
......@@ -388,7 +388,7 @@ void QmlLiveTextPreview::associateEditor(Core::IEditor *editor)
using namespace TextEditor;
if (editor->document()->id() == QmlJSEditor::Constants::C_QMLJSEDITOR_ID) {
QTC_ASSERT(QLatin1String(editor->widget()->metaObject()->className()) ==
QLatin1String("QmlJSEditor::Internal::QmlJSTextEditorWidget"),
QLatin1String("QmlJSEditor::Internal::QmlJSEditorWidget"),
return);
BaseTextEditorWidget *editWidget
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment