diff options
author | hjk <[email protected]> | 2013-06-03 18:12:41 +0200 |
---|---|---|
committer | Jarek Kobus <[email protected]> | 2013-06-04 13:20:33 +0200 |
commit | 8510c2ab2b42c940bf5ffb424fcdf7fc38913fc0 (patch) | |
tree | 4b888d1a27cab8680120f736f3c7038d90b66d1b /src/plugins/git/gitclient.h | |
parent | 0f4cfa7e39401fac1015fa54d947111c72fd59ef (diff) |
Git: Try do consolidate code duplication
Change-Id: I5ac34d96152d6e4f9abc8f6dd18d1e1eab0bde7f
Reviewed-by: Jarek Kobus <[email protected]>
Diffstat (limited to 'src/plugins/git/gitclient.h')
-rw-r--r-- | src/plugins/git/gitclient.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/git/gitclient.h b/src/plugins/git/gitclient.h index 85e422a33f4..a280ccc34d4 100644 --- a/src/plugins/git/gitclient.h +++ b/src/plugins/git/gitclient.h @@ -334,8 +334,9 @@ private: QTextCodec *getSourceCodec(const QString &file) const; VcsBase::VcsBaseEditorWidget *findExistingVCSEditor(const char *registerDynamicProperty, const QString &dynamicPropertyValue) const; - DiffEditor::DiffEditor *findExistingDiffEditor(const char *registerDynamicProperty, - const QString &dynamicPropertyValue) const; + DiffEditor::DiffEditor *findExistingOrOpenNewDiffEditor(const char *registerDynamicProperty, + const QString &dynamicPropertyValue, + const QString &titlePattern) const; enum CodecType { CodecSource, CodecLogOutput, CodecNone }; VcsBase::VcsBaseEditorWidget *createVcsEditor(const Core::Id &kind, |