From 8224c1c95df481ad34fad3f699e67db42bc8b6ea Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Wed, 19 Oct 2016 16:44:25 +0200 Subject: DiffEditor: fix revert chunk for diffs of modified files Apply chunk action doesn't make sense for that case, will stay disabled. Task-number: QTCREATORBUG-17136 Change-Id: Idce31b3aa9d354536a01607c10b20273158961d5 Reviewed-by: Tobias Hunger --- src/plugins/texteditor/textdocument.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/texteditor/textdocument.h') diff --git a/src/plugins/texteditor/textdocument.h b/src/plugins/texteditor/textdocument.h index 30576043b4..4bb466382c 100644 --- a/src/plugins/texteditor/textdocument.h +++ b/src/plugins/texteditor/textdocument.h @@ -118,6 +118,7 @@ public: OpenResult open(QString *errorString, const QString &fileName, const QString &realFileName) override; virtual bool reload(QString *errorString); + bool reload(QString *errorString, const QString &realFileName); bool setPlainText(const QString &text); QTextDocument *document() const; -- cgit v1.2.1