Reduced the usage of CppQuickFixOperation.

This commit is contained in:
Roberto Raggi
2010-06-03 14:45:55 +02:00
parent a40349c09b
commit 3d81ae8574
6 changed files with 26 additions and 39 deletions

View File

@@ -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();
}