forked from qt-creator/qt-creator
Prefix editor's uniqueId with plugin name
In this way we minimize the chance of generating non-unique id. Change-Id: Idd177c5a4b44b17a58c2a944ec77b9517e91964e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
namespace DiffEditor {
|
||||
namespace Constants {
|
||||
|
||||
const char DIFF_EDITOR_PLUGIN[] = "DiffEditorPlugin";
|
||||
|
||||
const char DIFF_EDITOR_ID[] = "Diff Editor";
|
||||
const char DIFF_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("DiffEditor", "Diff Editor");
|
||||
const char DIFF_EDITOR_MIMETYPE[] = "text/x-patch";
|
||||
|
||||
Reference in New Issue
Block a user