Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
cdf9d03e
Commit
cdf9d03e
authored
Aug 08, 2010
by
mae
Browse files
Fix (Un)FoldAll action naming
The action was forgotten in the rename from collapse to fold.
parent
ec1d555a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/texteditoractionhandler.cpp
View file @
cdf9d03e
...
...
@@ -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)&
C
ol
lapse
All"
),
this
);
m_unfoldAllAction
=
new
QAction
(
tr
(
"(Un)&
F
ol
d
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
);
...
...
src/plugins/texteditor/texteditorconstants.h
View file @
cdf9d03e
...
...
@@ -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.Un
C
ol
lapse
All"
;
const
char
*
const
UNFOLD_ALL
=
"TextEditor.Un
F
ol
d
All"
;
const
char
*
const
AUTO_INDENT_SELECTION
=
"TextEditor.AutoIndentSelection"
;
const
char
*
const
INCREASE_FONT_SIZE
=
"TextEditor.IncreaseFontSize"
;
const
char
*
const
DECREASE_FONT_SIZE
=
"TextEditor.DecreaseFontSize"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment