forked from qt-creator/qt-creator
Editors: Automatically add editor/document id to context and use that
instead of manually adding a context everywhere. Change-Id: I4336015a6d19349171a255e949da89b0013d6700 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -115,19 +115,16 @@ const VcsBaseEditorParameters editorParameters[] = {
|
||||
{ LogOutput, // type
|
||||
Constants::FILELOG_ID, // id
|
||||
Constants::FILELOG_DISPLAY_NAME, // display name
|
||||
Constants::FILELOG, // context
|
||||
Constants::LOGAPP}, // mime type
|
||||
|
||||
{ AnnotateOutput,
|
||||
Constants::ANNOTATELOG_ID,
|
||||
Constants::ANNOTATELOG_DISPLAY_NAME,
|
||||
Constants::ANNOTATELOG,
|
||||
Constants::ANNOTATEAPP},
|
||||
|
||||
{ DiffOutput,
|
||||
Constants::DIFFLOG_ID,
|
||||
Constants::DIFFLOG_DISPLAY_NAME,
|
||||
Constants::DIFFLOG,
|
||||
Constants::DIFFAPP}
|
||||
};
|
||||
|
||||
@@ -135,7 +132,6 @@ const VcsBaseSubmitEditorParameters submitEditorParameters = {
|
||||
COMMITMIMETYPE,
|
||||
COMMIT_ID,
|
||||
COMMIT_DISPLAY_NAME,
|
||||
COMMIT_ID,
|
||||
VcsBaseSubmitEditorParameters::DiffFiles
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user