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
2f4b1b2d
Commit
2f4b1b2d
authored
Oct 29, 2021
by
Thomas Surrel
Committed by
Tomaz Canabrava
Dec 28, 2021
Browse files
Remove now unused needToClear
parent
f2f7b92c
Pipeline
#115124
passed with stage
in 1 minute and 52 seconds
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/terminalDisplay/TerminalScrollBar.cpp
View file @
2f4b1b2d
...
...
@@ -80,7 +80,6 @@ void TerminalScrollBar::setHighlightScrolledLines(bool highlight)
{
_highlightScrolledLines
.
setEnabled
(
highlight
);
_highlightScrolledLines
.
setTimer
(
this
);
_highlightScrolledLines
.
setNeedToClear
(
true
);
}
bool
TerminalScrollBar
::
alternateScrolling
()
const
...
...
src/terminalDisplay/extras/HighlightScrolledLines.cpp
View file @
2f4b1b2d
...
...
@@ -18,7 +18,6 @@ HighlightScrolledLines::HighlightScrolledLines()
:
_enabled
(
false
)
,
_previousScrollCount
(
0
)
,
_timer
(
nullptr
)
,
_needToClear
(
false
)
{
}
...
...
@@ -36,16 +35,6 @@ void HighlightScrolledLines::setEnabled(bool enable)
_enabled
=
enable
;
}
bool
HighlightScrolledLines
::
isNeedToClear
()
{
return
_needToClear
;
}
void
HighlightScrolledLines
::
setNeedToClear
(
bool
isNeeded
)
{
_needToClear
=
isNeeded
;
}
int
HighlightScrolledLines
::
getPreviousScrollCount
()
{
return
_previousScrollCount
;
...
...
src/terminalDisplay/extras/HighlightScrolledLines.h
View file @
2f4b1b2d
...
...
@@ -43,14 +43,6 @@ public:
* Enable or disable the highlight lines
*/
void
setEnabled
(
bool
enable
);
/**
* Return if the highlight line needs to clear
*/
bool
isNeedToClear
();
/**
* Set the highlight line needs to clear
*/
void
setNeedToClear
(
bool
isNeeded
);
int
getPreviousScrollCount
();
void
setPreviousScrollCount
(
int
scrollCount
);
/**
...
...
@@ -76,7 +68,6 @@ private:
QRect
_rect
;
int
_previousScrollCount
;
std
::
unique_ptr
<
QTimer
>
_timer
;
bool
_needToClear
;
};
}
// namespace Konsole
...
...
Write
Preview
Markdown
is supported
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