forked from qt-creator/qt-creator
Fixes: Diff editors don't get correct name.
They were no longer showing e.g. the file name of the diffed file. Also separate editor id and editor context a bit.
This commit is contained in:
@@ -86,7 +86,7 @@ bool FormEditorPlugin::initialize(const QStringList &arguments, QString *error)
|
||||
|
||||
initializeTemplates();
|
||||
|
||||
const int uid = core->uniqueIDManager()->uniqueIdentifier(QLatin1String(C_FORMEDITOR_ID));
|
||||
const int uid = core->uniqueIDManager()->uniqueIdentifier(QLatin1String(C_FORMEDITOR));
|
||||
const QList<int> context = QList<int>() << uid;
|
||||
|
||||
addAutoReleasedObject(new FormEditorFactory);
|
||||
|
||||
Reference in New Issue
Block a user