Fixed spelling of method name

This commit is contained in:
Thorbjørn Lindeijer
2009-09-16 15:38:30 +02:00
parent 19f4466e3c
commit 0e3515130b
4 changed files with 6 additions and 6 deletions

View File

@@ -1121,10 +1121,10 @@ void BaseTextEditor::keyPressEvent(QKeyEvent *e)
if (!electricChar.isNull())
cursor.beginEditBlock();
bool insertAutoParenthesis = !autoText.isEmpty() && contextAllowsAutoParenthesis(cursor);
bool insertAutoParentheses = !autoText.isEmpty() && contextAllowsAutoParentheses(cursor);
cursor.insertText(text);
if (insertAutoParenthesis) {
if (insertAutoParentheses) {
int pos = cursor.position();
cursor.insertText(autoText);
cursor.setPosition(pos);
@@ -3329,7 +3329,7 @@ bool BaseTextEditor::isElectricCharacter(const QChar &) const
return false;
}
bool BaseTextEditor::contextAllowsAutoParenthesis(const QTextCursor &) const
bool BaseTextEditor::contextAllowsAutoParentheses(const QTextCursor &) const
{
return true;
}