aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@digia.com>2014-11-25 13:18:03 +0100
committerhjk <hjk121@nokiamail.com>2014-11-25 13:33:40 +0100
commit20cf9add918e602330b1d34449e2b52684ac3024 (patch)
tree903c0acea5db82854c77312fa04ecbce2574d77c
parentaf803b60ae1e7fcc3279d35291dbbf1d05708a8b (diff)
Perforce: Fix compilev3.3.0-rc1
Change-Id: Ief5ba86354a9c657fc9676bf6693fe4a11f543c5 Reviewed-by: hjk <hjk121@nokiamail.com>
-rw-r--r--src/plugins/perforce/perforceplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perforce/perforceplugin.cpp b/src/plugins/perforce/perforceplugin.cpp
index 61c8802cd0..5976ed476e 100644
--- a/src/plugins/perforce/perforceplugin.cpp
+++ b/src/plugins/perforce/perforceplugin.cpp
@@ -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());