diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-06-02 17:14:48 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-06-10 11:21:17 +0000 |
commit | 4f927e4c87f07c4d50efcef5b61478df61cc9d3f (patch) | |
tree | a9bbeafa63ea92a5171990bdc8639f93282a7252 /src/plugins/git/giteditor.h | |
parent | c916d250b3c1ff28a4ad0c93ccbd6005c9ff9f42 (diff) |
Move "open" from IEditor to IDocument
For non-editor documents it currently is not used, but for editors it
makes more sense to have that on the document instead of the editor.
Most actual implementations of "open" were done in the documents already
anyhow, because it is needed for reloading.
Change-Id: I29d4df2078995cbe80172b51a9bebeecb3afad3c
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/git/giteditor.h')
-rw-r--r-- | src/plugins/git/giteditor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/giteditor.h b/src/plugins/git/giteditor.h index 3540c5e4aa..538946f76b 100644 --- a/src/plugins/git/giteditor.h +++ b/src/plugins/git/giteditor.h @@ -62,7 +62,7 @@ private: void init() override; void resetChange(const QByteArray &resetType); void addDiffActions(QMenu *menu, const VcsBase::DiffChunk &chunk) override; - bool open(QString *errorString, const QString &fileName, const QString &realFileName) override; + void aboutToOpen(const QString &fileName, const QString &realFileName) override; QSet<QString> annotationChanges() const override; QString changeUnderCursor(const QTextCursor &) const override; VcsBase::BaseAnnotationHighlighter *createAnnotationHighlighter(const QSet<QString> &changes) const override; |