forked from qt-creator/qt-creator
QmlJSEditor: Use ICore::dialogParent for component dialog
And remove a then unused function. Change-Id: I85f6db88af060192f3ee2587ba4cb5a55f8860fd Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -50,9 +50,8 @@ QmlJSQuickFixAssistInterface::QmlJSQuickFixAssistInterface(QmlJSTextEditorWidget
|
||||
TextEditor::AssistReason reason)
|
||||
: DefaultAssistInterface(editor->document(), editor->position(),
|
||||
editor->baseTextDocument()->filePath(), reason)
|
||||
, m_editor(editor)
|
||||
, m_semanticInfo(editor->qmlJsEditorDocument()->semanticInfo())
|
||||
, m_currentFile(QmlJSRefactoringChanges::file(m_editor, m_semanticInfo.document))
|
||||
, m_currentFile(QmlJSRefactoringChanges::file(editor, m_semanticInfo.document))
|
||||
{}
|
||||
|
||||
QmlJSQuickFixAssistInterface::~QmlJSQuickFixAssistInterface()
|
||||
@@ -68,11 +67,6 @@ QmlJSRefactoringFilePtr QmlJSQuickFixAssistInterface::currentFile() const
|
||||
return m_currentFile;
|
||||
}
|
||||
|
||||
QmlJSTextEditorWidget *QmlJSQuickFixAssistInterface::editor() const
|
||||
{
|
||||
return m_editor;
|
||||
}
|
||||
|
||||
// ----------------------
|
||||
// QmlJSQuickFixProcessor
|
||||
// ----------------------
|
||||
|
||||
Reference in New Issue
Block a user