diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-05-05 16:59:56 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-05-06 15:32:05 +0200 |
commit | e465295f75c7e00872bb0bb8f13f258b4cdc8c7d (patch) | |
tree | 4290a5a8188a7dc8a7769fd6ceb6ff64e5009bff /src/plugins/bazaar | |
parent | 3dc4e182f46eb744ed8bc04c18cd525f633d7ce4 (diff) | |
download | qt-creator-e465295f75c7e00872bb0bb8f13f258b4cdc8c7d.tar.gz |
VCS: Pass string by reference on annotate
Change-Id: I20ce1187871a0cc82fbdaf02a555a9e12cbf185a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/bazaar')
-rw-r--r-- | src/plugins/bazaar/bazaarclient.cpp | 2 | ||||
-rw-r--r-- | src/plugins/bazaar/bazaarclient.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/bazaar/bazaarclient.cpp b/src/plugins/bazaar/bazaarclient.cpp index 943da0fdb8..f75ed48e4b 100644 --- a/src/plugins/bazaar/bazaarclient.cpp +++ b/src/plugins/bazaar/bazaarclient.cpp @@ -129,7 +129,7 @@ void BazaarClient::commit(const QString &repositoryRoot, const QStringList &file } void BazaarClient::annotate(const QString &workingDir, const QString &file, - const QString revision, int lineNumber, + const QString &revision, int lineNumber, const QStringList &extraOptions) { VcsBaseClient::annotate(workingDir, file, revision, lineNumber, diff --git a/src/plugins/bazaar/bazaarclient.h b/src/plugins/bazaar/bazaarclient.h index b0dc2d5bae..8896d933fa 100644 --- a/src/plugins/bazaar/bazaarclient.h +++ b/src/plugins/bazaar/bazaarclient.h @@ -55,7 +55,7 @@ public: void commit(const QString &repositoryRoot, const QStringList &files, const QString &commitMessageFile, const QStringList &extraOptions = QStringList()); void annotate(const QString &workingDir, const QString &file, - const QString revision = QString(), int lineNumber = -1, + const QString &revision = QString(), int lineNumber = -1, const QStringList &extraOptions = QStringList()); void view(const QString &source, const QString &id, const QStringList &extraOptions = QStringList()); |