From cdf9d03e62fcd5b2bc9d2d29402733de0f012866 Mon Sep 17 00:00:00 2001
From: mae <qt-info@nokia.com>
Date: Sun, 8 Aug 2010 15:28:37 +0200
Subject: [PATCH] Fix (Un)FoldAll action naming

The action was forgotten in the rename from collapse to fold.
---
 src/plugins/texteditor/texteditoractionhandler.cpp | 2 +-
 src/plugins/texteditor/texteditorconstants.h       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp
index ce03aae9fc3..ae72919a027 100644
--- a/src/plugins/texteditor/texteditoractionhandler.cpp
+++ b/src/plugins/texteditor/texteditoractionhandler.cpp
@@ -208,7 +208,7 @@ void TextEditorActionHandler::createActions()
     connect(m_unfoldAction, SIGNAL(triggered()), this, SLOT(unfold()));
     advancedMenu->addAction(command, Core::Constants::G_EDIT_COLLAPSING);
 
-    m_unfoldAllAction = new QAction(tr("(Un)&Collapse All"), this);
+    m_unfoldAllAction = new QAction(tr("(Un)&Fold All"), this);
     command = am->registerAction(m_unfoldAllAction, Constants::UNFOLD_ALL, m_contextId);
     connect(m_unfoldAllAction, SIGNAL(triggered()), this, SLOT(unfoldAll()));
     advancedMenu->addAction(command, Core::Constants::G_EDIT_COLLAPSING);
diff --git a/src/plugins/texteditor/texteditorconstants.h b/src/plugins/texteditor/texteditorconstants.h
index e1c6b12debe..7de9f231b76 100644
--- a/src/plugins/texteditor/texteditorconstants.h
+++ b/src/plugins/texteditor/texteditorconstants.h
@@ -45,7 +45,7 @@ const char * const UN_COMMENT_SELECTION  = "TextEditor.UnCommentSelection";
 const char * const REFORMAT              = "TextEditor.Reformat";
 const char * const FOLD              = "TextEditor.Fold";
 const char * const UNFOLD                = "TextEditor.Unfold";
-const char * const UNFOLD_ALL       = "TextEditor.UnCollapseAll";
+const char * const UNFOLD_ALL       = "TextEditor.UnFoldAll";
 const char * const AUTO_INDENT_SELECTION = "TextEditor.AutoIndentSelection";
 const char * const INCREASE_FONT_SIZE    = "TextEditor.IncreaseFontSize";
 const char * const DECREASE_FONT_SIZE    = "TextEditor.DecreaseFontSize";
-- 
GitLab