forked from qt-creator/qt-creator
TextEditor: Add a convenience append method for quick fixes
Less noise on the user side. Change-Id: Ia5b495a1f9d3ec43623056d793f6771b3b84fd6b Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -665,8 +665,7 @@ void QmlJSEditorWidget::showContextPane()
|
||||
|
||||
void QmlJSEditorWidget::performQuickFix(int index)
|
||||
{
|
||||
QuickFixOperation::Ptr op = m_quickFixes.at(index);
|
||||
op->perform();
|
||||
m_quickFixes.at(index)->perform();
|
||||
}
|
||||
|
||||
void QmlJSEditorWidget::contextMenuEvent(QContextMenuEvent *e)
|
||||
|
||||
Reference in New Issue
Block a user