Commit efdd8cea authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Rename applyChangeSet() to apply()

parent 83b5f431
......@@ -760,7 +760,7 @@ QString QuickFixOperation::textOf(AST *ast) const
return textOf(startOf(ast), endOf(ast));
}
void QuickFixOperation::applyChangeSet()
void QuickFixOperation::apply()
{
Range range;
......@@ -880,7 +880,7 @@ void CPPQuickFixCollector::perform(QuickFixOperationPtr op)
{
op->setTextCursor(_editor->textCursor());
op->createChangeSet();
op->applyChangeSet();
op->apply();
}
void CPPQuickFixCollector::cleanup()
......
......@@ -63,7 +63,7 @@ public:
virtual int match(const QList<CPlusPlus::AST *> &path) = 0;
virtual void createChangeSet() = 0;
void applyChangeSet();
void apply();
CPlusPlus::Document::Ptr document() const;
void setDocument(CPlusPlus::Document::Ptr document);
......
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