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
Utilities
Konsole
Commits
7e99f5cf
Commit
7e99f5cf
authored
Oct 31, 2020
by
Carlos Alves
Browse files
Fix Maximize/Restore split terminal tool tip
BUG: 409825
FIXED-IN: 20.12
parent
e10f07a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/widgets/TerminalHeaderBar.cpp
View file @
7e99f5cf
...
...
@@ -190,6 +190,11 @@ void TerminalHeaderBar::setExpandedMode(bool expand)
if
(
m_toggleExpandedMode
->
isChecked
()
!=
expand
)
{
m_toggleExpandedMode
->
setChecked
(
expand
);
}
if
(
expand
)
{
m_toggleExpandedMode
->
setToolTip
(
i18nc
(
"@info:tooltip"
,
"Restore terminal"
));
}
else
{
m_toggleExpandedMode
->
setToolTip
(
i18nc
(
"@info:tooltip"
,
"Maximize terminal"
));
}
}
void
TerminalHeaderBar
::
paintEvent
(
QPaintEvent
*
paintEvent
)
...
...
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