diff options
author | con <qtc-committer@nokia.com> | 2009-08-12 10:41:30 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2009-08-12 10:41:30 +0200 |
commit | 188dbc3a43fc645fae14f36e232d945c18bd12eb (patch) | |
tree | 602b4357d7ef8f220ad7212876279e38856bc540 /src/plugins/cpaster | |
parent | 0d4a4c03779726d775712c346ca36f7dbf36ecf6 (diff) | |
download | qt-creator-188dbc3a43fc645fae14f36e232d945c18bd12eb.tar.gz |
API naming.
Reviewed-by: hjk
Diffstat (limited to 'src/plugins/cpaster')
-rw-r--r-- | src/plugins/cpaster/cpasterplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpaster/cpasterplugin.cpp b/src/plugins/cpaster/cpasterplugin.cpp index 36054f796a..1135b7bbfd 100644 --- a/src/plugins/cpaster/cpasterplugin.cpp +++ b/src/plugins/cpaster/cpasterplugin.cpp @@ -263,7 +263,7 @@ void CodepasterPlugin::finishFetch(const QString &titleDescription, ICore::instance()->messageManager()->printToOutputPane(content, true); } else { EditorManager* manager = EditorManager::instance(); - IEditor* editor = manager->newFile(Core::Constants::K_DEFAULT_TEXT_EDITOR, &title, content); + IEditor* editor = manager->openEditorWithContents(Core::Constants::K_DEFAULT_TEXT_EDITOR, &title, content); manager->activateEditor(editor); } } |