Commit bd0b030c authored by hjk's avatar hjk Committed by Eike Ziller
Browse files

editormanager: editor id are strings (at least for now)

Change-Id: I44c319403b570bfcc3f02f9bfd0de8db43e7a2e8
Reviewed-by: default avatarEike Ziller <>
parent 85fbf58c
......@@ -781,12 +781,12 @@ void SplitterOrView::restoreState(const QByteArray &state)
} else if (mode == "editor" || mode == "currenteditor") {
EditorManager *em = CoreImpl::instance()->editorManager();
QString fileName;
QByteArray id;
QString id;
QByteArray editorState;
stream >> fileName >> id >> editorState;
if (!QFile::exists(fileName))
IEditor *e = em->openEditor(view(), fileName, Id(QString(id)), Core::EditorManager::IgnoreNavigationHistory
IEditor *e = em->openEditor(view(), fileName, Id(id), Core::EditorManager::IgnoreNavigationHistory
| Core::EditorManager::NoActivate);
if (!e) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment