API naming.

Reviewed-by: hjk
This commit is contained in:
con
2009-08-12 10:41:30 +02:00
parent 0d4a4c0377
commit 188dbc3a43
8 changed files with 10 additions and 10 deletions

View File

@@ -1134,7 +1134,7 @@ Core::IEditor * CVSPlugin::showOutputInEditor(const QString& title, const QStrin
if (CVS::Constants::debug)
qDebug() << "CVSPlugin::showOutputInEditor" << title << kind << "source=" << source << "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()->openEditorWithContents(kind, &s, output.toLocal8Bit());
CVSEditor *e = qobject_cast<CVSEditor*>(editor->widget());
if (!e)
return 0;