mirror of
https://github.com/KDE/konsole.git
synced 2025-12-23 23:38:08 -05:00
Removed alias.
This commit is contained in:
committed by
Christoph Cullmann
parent
beb3aa5545
commit
9a3e413632
@@ -584,14 +584,12 @@ void TerminalPainter::updateCursorTextColor(const QColor &backgroundColor, QColo
|
||||
}
|
||||
}
|
||||
|
||||
void TerminalPainter::drawCursor(QPainter &painter, const QRectF &rect, const QColor &foregroundColor, const QColor &backgroundColor, QColor &characterColor)
|
||||
void TerminalPainter::drawCursor(QPainter &painter, const QRectF &cursorRect, const QColor &foregroundColor, const QColor &backgroundColor, QColor &characterColor)
|
||||
{
|
||||
if (m_parentDisplay->cursorBlinking()) {
|
||||
return;
|
||||
}
|
||||
|
||||
const QRectF& cursorRect = rect;
|
||||
|
||||
QColor color = m_parentDisplay->terminalColor()->cursorColor();
|
||||
QColor cursorColor = color.isValid() ? color : foregroundColor;
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ private:
|
||||
|
||||
void updateCursorTextColor(const QColor &backgroundColor, QColor &characterColor);
|
||||
// draws the cursor character
|
||||
void drawCursor(QPainter &painter, const QRectF &rect, const QColor &foregroundColor, const QColor &backgroundColor, QColor &characterColor);
|
||||
void drawCursor(QPainter &painter, const QRectF &cursorRect, const QColor &foregroundColor, const QColor &backgroundColor, QColor &characterColor);
|
||||
|
||||
TerminalDisplay *m_parentDisplay = nullptr;
|
||||
void drawBelowText(QPainter &painter,
|
||||
|
||||
Reference in New Issue
Block a user