forked from qt-creator/qt-creator
VCS: Pass const values by references
Change-Id: I9749c0c76b810f3d5fee1aa8c5750dac5930cd3c Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
b3ff928b0a
commit
642706dc44
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user