Removed alias.

This commit is contained in:
Luca Carlon
2025-05-27 23:01:50 +02:00
committed by Christoph Cullmann
parent beb3aa5545
commit 9a3e413632
2 changed files with 2 additions and 4 deletions

View File

@@ -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;

View File

@@ -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,