diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2013-04-30 21:32:24 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-05-02 16:52:55 +0200 |
commit | 20f1208e0f992fa16a83f9eaecb1d2ff2ecf3971 (patch) | |
tree | aff26d7d38894fd27d95f9393b508d6effe932d1 /src/plugins/git/gitsubmiteditor.cpp | |
parent | 06da25f6100236b2ce1cde58d044f3b1cb21fe4d (diff) | |
download | qt-creator-20f1208e0f992fa16a83f9eaecb1d2ff2ecf3971.tar.gz |
Git: Pass CommitData by reference
It is used for both input and output, the pointer is assumed
to be valid
Change-Id: Iad9a82dfb5ea4850584d4da848076699cddd23c2
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/git/gitsubmiteditor.cpp')
-rw-r--r-- | src/plugins/git/gitsubmiteditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitsubmiteditor.cpp b/src/plugins/git/gitsubmiteditor.cpp index da3d1df4b8..9229022090 100644 --- a/src/plugins/git/gitsubmiteditor.cpp +++ b/src/plugins/git/gitsubmiteditor.cpp @@ -164,7 +164,7 @@ void GitSubmitEditor::updateFileModel() GitClient *client = GitPlugin::instance()->gitClient(); QString errorMessage, commitTemplate; CommitData data(m_commitType); - if (client->getCommitData(m_workingDirectory, &commitTemplate, &data, &errorMessage)) { + if (client->getCommitData(m_workingDirectory, &commitTemplate, data, &errorMessage)) { setCommitData(data); } else { VcsBase::VcsBaseOutputWindow::instance()->append(errorMessage); |