Commit ec9b42fe authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Fix filtering of date/time in blame

Was broken in 07d6757c

.

Change-Id: I2372d3856d52c01949554aed6ed133de8eabd814
Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
parent 4eb2224f
......@@ -176,7 +176,7 @@ static QString removeAnnotationDate(const QString &b)
return result;
}
void GitEditorWidget::setPlainTextFiltered(const QString &text)
void GitEditorWidget::setPlainText(const QString &text)
{
QString modText = text;
GitPlugin *plugin = GitPlugin::instance();
......
......@@ -49,8 +49,7 @@ class GitEditorWidget : public VcsBase::VcsBaseEditorWidget
public:
GitEditorWidget();
public slots:
void setPlainTextFiltered(const QString &text);
void setPlainText(const QString &text) override;
private slots:
void checkoutChange();
......
......@@ -1386,6 +1386,11 @@ void VcsBaseEditorWidget::setCommand(VcsCommand *command)
}
}
void VcsBaseEditorWidget::setPlainText(const QString &text)
{
TextEditorWidget::setPlainText(text);
}
// Find the complete file from a diff relative specification.
QString VcsBaseEditorWidget::findDiffFile(const QString &f) const
{
......
......@@ -213,6 +213,9 @@ public:
VcsBaseEditorParameterWidget *configurationWidget() const;
void setCommand(VcsCommand *command);
virtual void setPlainText(const QString &text);
signals:
// These signals also exist in the opaque editable (IEditor) that is
// handled by the editor manager for convenience. They are emitted
......
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