forked from qt-creator/qt-creator
Reduced the usage of CppQuickFixOperation.
This commit is contained in:
@@ -160,3 +160,9 @@ QString QuickFixOperation::textOf(int start, int end) const
|
||||
tc.setPosition(end, QTextCursor::KeepAnchor);
|
||||
return tc.selectedText();
|
||||
}
|
||||
|
||||
void QuickFixOperation::perform()
|
||||
{
|
||||
createChangeSet();
|
||||
apply();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user