forked from qt-creator/qt-creator
		
	Perforce: Fix compile
Change-Id: Ief5ba86354a9c657fc9676bf6693fe4a11f543c5 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
		| @@ -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()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user