summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2015-04-12 15:49:12 +0300
committerOrgad Shaneh <orgads@gmail.com>2015-04-13 05:42:56 +0000
commitb9ea4843053d617db653dec7d3d73ef8310853d6 (patch)
tree0f8bde35fd97820bd50d18249e698e0f27b2cbb5
parent18a5d019c0b2c1e35b52b082d3458fb014b21d28 (diff)
downloadqt-creator-b9ea4843053d617db653dec7d3d73ef8310853d6.tar.gz
TextEditor: Fix unused variable warning on release build
Change-Id: Ia773f4cc69f9554caeb78c1380ddf69095684000 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
-rw-r--r--src/plugins/texteditor/snippets/snippet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/texteditor/snippets/snippet.cpp b/src/plugins/texteditor/snippets/snippet.cpp
index c75f2fe5b9..082c1d38ca 100644
--- a/src/plugins/texteditor/snippets/snippet.cpp
+++ b/src/plugins/texteditor/snippets/snippet.cpp
@@ -38,7 +38,6 @@
using namespace TextEditor;
-const char NOMANGLER_ID[] = "TextEditor::NoMangler";
const char UCMANGLER_ID[] = "TextEditor::UppercaseMangler";
const char LCMANGLER_ID[] = "TextEditor::LowercaseMangler";
const char TCMANGLER_ID[] = "TextEditor::TitlecaseMangler";
@@ -276,6 +275,8 @@ Snippet::ParsedSnippet Snippet::parse(const QString &snippet)
# include "../texteditorplugin.h"
+const char NOMANGLER_ID[] = "TextEditor::NoMangler";
+
void Internal::TextEditorPlugin::testSnippetParsing_data()
{
QTest::addColumn<QString>("input");