Commit 2f4b1b2d authored by Thomas Surrel's avatar Thomas Surrel Committed by Tomaz Canabrava
Browse files

Remove now unused needToClear

parent f2f7b92c
Pipeline #115124 passed with stage
in 1 minute and 52 seconds
......@@ -80,7 +80,6 @@ void TerminalScrollBar::setHighlightScrolledLines(bool highlight)
{
_highlightScrolledLines.setEnabled(highlight);
_highlightScrolledLines.setTimer(this);
_highlightScrolledLines.setNeedToClear(true);
}
bool TerminalScrollBar::alternateScrolling() const
......
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment