aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perforce
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-08-11 11:22:30 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-08-11 11:22:30 +0200
commite89a3b00d4caced4fbd507f381efe6f29433beee (patch)
treeca75569eeedc87438c8332b2dd25f7b6063c6d2f /src/plugins/perforce
parent556c824a663f053ee84b08dd71a513c91d5634fe (diff)
Perforce/Subversion: Display diff/annotation with correct encoding.
Diffstat (limited to 'src/plugins/perforce')
-rw-r--r--src/plugins/perforce/perforceplugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/perforce/perforceplugin.cpp b/src/plugins/perforce/perforceplugin.cpp
index ff28c6a049..c3a0553ea0 100644
--- a/src/plugins/perforce/perforceplugin.cpp
+++ b/src/plugins/perforce/perforceplugin.cpp
@@ -884,8 +884,7 @@ Core::IEditor * PerforcePlugin::showOutputInEditor(const QString& title, const Q
if (Perforce::Constants::debug)
qDebug() << "PerforcePlugin::showOutputInEditor" << title << kind << "Size= " << output.size() << " Type=" << editorType << debugCodec(codec);
QString s = title;
- Core::IEditor *editor = Core::EditorManager::instance()->
- newFile(kind, &s, output.toLocal8Bit());
+ Core::IEditor *editor = Core::EditorManager::instance()->newFile(kind, &s, output);
PerforceEditor *e = qobject_cast<PerforceEditor*>(editor->widget());
if (!e)
return 0;