summaryrefslogtreecommitdiff
path: root/src/plugins/mercurial
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-05-21 20:54:26 +0300
committerOrgad Shaneh <orgads@gmail.com>2013-05-24 12:21:26 +0200
commitfd48f081c60675a101080fcd296916986eac242c (patch)
tree5f3f9ee291ea49db3bdc0747eafb4659d26b20e6 /src/plugins/mercurial
parenta439d12b4877f1e53c6d30f8d700f90d4ed73df0 (diff)
downloadqt-creator-fd48f081c60675a101080fcd296916986eac242c.tar.gz
VCS: Remove unused extension parameter from editors
Change-Id: I17e73e269698af0d515f668d3c272a748cdca3bb Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/mercurial')
-rw-r--r--src/plugins/mercurial/constants.h4
-rw-r--r--src/plugins/mercurial/mercurialplugin.cpp12
2 files changed, 4 insertions, 12 deletions
diff --git a/src/plugins/mercurial/constants.h b/src/plugins/mercurial/constants.h
index 060cdc39c1..c7768c7c4c 100644
--- a/src/plugins/mercurial/constants.h
+++ b/src/plugins/mercurial/constants.h
@@ -50,25 +50,21 @@ const char COMMANDLOG_ID[] = "Mercurial Command Log Editor";
const char COMMANDLOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Mercurial Command Log Editor");
const char COMMANDLOG[] = "Mercurial Command Log Editor";
const char COMMANDAPP[] = "application/vnd.nokia.text.scs_mercurial_commandlog";
-const char COMMANDEXT[] = "vcsMercurialCommand";
const char FILELOG_ID[] = "Mercurial File Log Editor";
const char FILELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Mercurial File Log Editor");
const char FILELOG[] = "Mercurial File Log Editor";
const char LOGAPP[] = "application/vnd.nokia.text.scs_mercurial_log";
-const char LOGEXT[] = "vcsMercurialLog";
const char ANNOTATELOG_ID[] = "Mercurial Annotation Editor";
const char ANNOTATELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Mercurial Annotation Editor");
const char ANNOTATELOG[] = "Mercurial Annotation Editor";
const char ANNOTATEAPP[] = "application/vnd.nokia.text.scs_mercurial_annotatelog";
-const char ANNOTATEEXT[] = "vcsMercurialAnnotate";
const char DIFFLOG_ID[] = "Mercurial Diff Editor";
const char DIFFLOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Mercurial Diff Editor");
const char DIFFLOG[] = "Mercurial Diff Editor";
const char DIFFAPP[] = "text/x-patch";
-const char DIFFEXT[] = "diff";
// Submit editor parameters
const char COMMIT_ID[] = "Mercurial Commit Log Editor";
diff --git a/src/plugins/mercurial/mercurialplugin.cpp b/src/plugins/mercurial/mercurialplugin.cpp
index 02f28bdcdc..931a9443b4 100644
--- a/src/plugins/mercurial/mercurialplugin.cpp
+++ b/src/plugins/mercurial/mercurialplugin.cpp
@@ -79,29 +79,25 @@ static const VcsBaseEditorParameters editorParameters[] = {
Constants::COMMANDLOG_ID, // id
Constants::COMMANDLOG_DISPLAY_NAME, // display name
Constants::COMMANDLOG, // context
- Constants::COMMANDAPP, // mime type
- Constants::COMMANDEXT}, //extension
+ Constants::COMMANDAPP}, // mime type
{ LogOutput,
Constants::FILELOG_ID,
Constants::FILELOG_DISPLAY_NAME,
Constants::FILELOG,
- Constants::LOGAPP,
- Constants::LOGEXT},
+ Constants::LOGAPP},
{ AnnotateOutput,
Constants::ANNOTATELOG_ID,
Constants::ANNOTATELOG_DISPLAY_NAME,
Constants::ANNOTATELOG,
- Constants::ANNOTATEAPP,
- Constants::ANNOTATEEXT},
+ Constants::ANNOTATEAPP},
{ DiffOutput,
Constants::DIFFLOG_ID,
Constants::DIFFLOG_DISPLAY_NAME,
Constants::DIFFLOG,
- Constants::DIFFAPP,
- Constants::DIFFEXT}
+ Constants::DIFFAPP}
};
static const VcsBaseSubmitEditorParameters submitEditorParameters = {