Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
efdd8cea
Commit
efdd8cea
authored
Nov 25, 2009
by
Roberto Raggi
Browse files
Rename applyChangeSet() to apply()
parent
83b5f431
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppquickfix.cpp
View file @
efdd8cea
...
...
@@ -760,7 +760,7 @@ QString QuickFixOperation::textOf(AST *ast) const
return
textOf
(
startOf
(
ast
),
endOf
(
ast
));
}
void
QuickFixOperation
::
apply
ChangeSet
()
void
QuickFixOperation
::
apply
()
{
Range
range
;
...
...
@@ -880,7 +880,7 @@ void CPPQuickFixCollector::perform(QuickFixOperationPtr op)
{
op
->
setTextCursor
(
_editor
->
textCursor
());
op
->
createChangeSet
();
op
->
apply
ChangeSet
();
op
->
apply
();
}
void
CPPQuickFixCollector
::
cleanup
()
...
...
src/plugins/cppeditor/cppquickfix.h
View file @
efdd8cea
...
...
@@ -63,7 +63,7 @@ public:
virtual
int
match
(
const
QList
<
CPlusPlus
::
AST
*>
&
path
)
=
0
;
virtual
void
createChangeSet
()
=
0
;
void
apply
ChangeSet
();
void
apply
();
CPlusPlus
::
Document
::
Ptr
document
()
const
;
void
setDocument
(
CPlusPlus
::
Document
::
Ptr
document
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment