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/vcsbase | |
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/vcsbase')
-rw-r--r-- | src/plugins/vcsbase/vcsbaseclient.cpp | 2 | ||||
-rw-r--r-- | src/plugins/vcsbase/vcsbaseclient.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/vcsbase/vcsbaseclient.cpp b/src/plugins/vcsbase/vcsbaseclient.cpp index 25b311f397..59f61a68ff 100644 --- a/src/plugins/vcsbase/vcsbaseclient.cpp +++ b/src/plugins/vcsbase/vcsbaseclient.cpp @@ -325,7 +325,7 @@ Utils::SynchronousProcessResponse VcsBaseClient::vcsSynchronousExec( } void VcsBaseClient::annotate(const QString &workingDir, const QString &file, - const QString revision /* = QString() */, + const QString &revision /* = QString() */, int lineNumber /* = -1 */, const QStringList &extraOptions) { diff --git a/src/plugins/vcsbase/vcsbaseclient.h b/src/plugins/vcsbase/vcsbaseclient.h index cc7dc03ad6..d814c48d66 100644 --- a/src/plugins/vcsbase/vcsbaseclient.h +++ b/src/plugins/vcsbase/vcsbaseclient.h @@ -92,7 +92,7 @@ public: const QString &dstLocation, const QStringList &extraOptions = QStringList()); virtual 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()); virtual void diff(const QString &workingDir, const QStringList &files = QStringList(), const QStringList &extraOptions = QStringList()); |