VCS: Pass const values by references

Change-Id: I9749c0c76b810f3d5fee1aa8c5750dac5930cd3c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2014-05-05 17:12:10 +03:00
committed by Orgad Shaneh
parent b3ff928b0a
commit 642706dc44
5 changed files with 11 additions and 10 deletions

View File

@@ -1169,10 +1169,11 @@ PerforceResponse PerforcePlugin::runP4Cmd(const QString &workingDir,
return response;
}
Core::IEditor *PerforcePlugin::showOutputInEditor(const QString &title, const QString output,
int editorType,
const QString &source,
QTextCodec *codec)
Core::IEditor *PerforcePlugin::showOutputInEditor(const QString &title,
const QString &output,
int editorType,
const QString &source,
QTextCodec *codec)
{
const VcsBase::VcsBaseEditorParameters *params = findType(editorType);
QTC_ASSERT(params, return 0);