Perforce: Fix compile

Change-Id: Ief5ba86354a9c657fc9676bf6693fe4a11f543c5
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Christian Stenger
2014-11-25 13:18:03 +01:00
committed by hjk
parent af803b60ae
commit 20cf9add91

View File

@@ -1188,7 +1188,7 @@ IEditor *PerforcePlugin::showOutputInEditor(const QString &title,
const int maxSize = EditorManager::maxTextFileSize() - 1000;
if (content.size() >= maxSize) {
content = tr("[Only %1 MB of output shown]").arg(maxSize / 1024 / 1024) + QLatin1Char('\n')
+ content.rightRef(maxSize);
+ content.right(maxSize);
}
IEditor *editor = EditorManager::openEditorWithContents(id, &s, content.toUtf8());