Commit cba97308 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Rename method to match signal name

Signal is called contentsChangedBecauseOfUndo
parent 6a68be6c
......@@ -545,7 +545,7 @@ ITextMarkable *BaseTextEditor::markableInterface() const
return baseTextDocument()->documentMarker();
}
void BaseTextEditor::maybeEmitTextChangedBecauseOfUndo()
void BaseTextEditor::maybeEmitContentsChangedBecauseOfUndo()
{
if (!d->m_inKeyPressEvent) {
......@@ -574,7 +574,7 @@ ITextEditable *BaseTextEditor::editableInterface() const
connect(this, SIGNAL(textChanged()),
d->m_editable, SIGNAL(contentsChanged()));
connect(this, SIGNAL(textChanged()),
this, SLOT(maybeEmitTextChangedBecauseOfUndo()));
this, SLOT(maybeEmitContentsChangedBecauseOfUndo()));
connect(this, SIGNAL(changed()),
d->m_editable, SIGNAL(changed()));
}
......
......@@ -459,7 +459,7 @@ private slots:
void highlightSearchResults(const QString &txt, Find::IFindSupport::FindFlags findFlags);
void setFindScope(const QTextCursor &);
void currentEditorChanged(Core::IEditor *editor);
void maybeEmitTextChangedBecauseOfUndo();
void maybeEmitContentsChangedBecauseOfUndo();
private:
Internal::BaseTextEditorPrivate *d;
......
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