summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/texteditorconstants.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@nokia.com>2012-08-27 10:42:42 +0200
committerLeandro Melo <leandro.melo@nokia.com>2012-08-29 11:21:58 +0200
commit33f8a42503e45ba1cd22a6b9adb4a7020cfe0b9d (patch)
treee093f5512002390b48ebc242bf7340c305a988d9 /src/plugins/texteditor/texteditorconstants.cpp
parentf47a916c537ecad6cea5c304d104d5e29830aa05 (diff)
downloadqt-creator-33f8a42503e45ba1cd22a6b9adb4a7020cfe0b9d.tar.gz
Editor: rename "Static" in Font & Colors settings
to more clearer "Enumeration" Change-Id: I785edb6d31a4cd6a0875549f80bcf791ad61587a Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
Diffstat (limited to 'src/plugins/texteditor/texteditorconstants.cpp')
-rw-r--r--src/plugins/texteditor/texteditorconstants.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/texteditor/texteditorconstants.cpp b/src/plugins/texteditor/texteditorconstants.cpp
index 0cb6300e6c..22ed20b8f1 100644
--- a/src/plugins/texteditor/texteditorconstants.cpp
+++ b/src/plugins/texteditor/texteditorconstants.cpp
@@ -57,7 +57,9 @@ const char *nameForStyle(TextStyle style)
case C_TYPE: return "Type";
case C_LOCAL: return "Local";
case C_FIELD: return "Field";
- case C_STATIC: return "Static";
+ // TODO: Rename "Static" to "Enumeration" in next major update,
+ // because renaming here would break styles defined by the user.
+ case C_ENUMERATION: return "Static";
case C_VIRTUAL_METHOD: return "VirtualMethod";
case C_FUNCTION: return "Function";
case C_KEYWORD: return "Keyword";