PythonEditor: Fix translation context

Change-Id: If20dc0ec6b886df8fde9961dc86cb44b78ec520a
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Takumi ASAKI
2016-05-30 13:45:25 +09:00
committed by Takumi ASAKI
parent 14ca25f3c1
commit d165122526

View File

@@ -43,7 +43,7 @@ namespace Internal {
PythonEditorFactory::PythonEditorFactory()
{
setId(Constants::C_PYTHONEDITOR_ID);
setDisplayName(tr(Constants::C_EDITOR_DISPLAY_NAME));
setDisplayName(QCoreApplication::translate("OpenWith::Editors", Constants::C_EDITOR_DISPLAY_NAME));
addMimeType(QLatin1String(Constants::C_PY_MIMETYPE));
setEditorActionHandlers(TextEditorActionHandler::Format