Added mime-type for JS files to the QMLJS text editor.

This commit is contained in:
Erik Verbruggen
2010-01-15 17:41:12 +01:00
parent 4f95378089
commit 062fa8e783
6 changed files with 20 additions and 7 deletions

View File

@@ -41,7 +41,8 @@ const char * const C_QMLJSEDITOR_ID = "QMLProjectManager.QMLJSEditor";
const char * const C_QMLJSEDITOR_DISPLAY_NAME = QT_TRANSLATE_NOOP("OpenWith::Editors", "QMLJS Editor");
const char * const TASK_INDEX = "QmlJSEditor.TaskIndex";
const char * const QMLJSEDITOR_MIMETYPE = "application/x-qml";
const char * const QML_MIMETYPE = "application/x-qml";
const char * const JS_MIMETYPE = "application/javascript";
} // namespace Constants
} // namespace QmlJSEditor