diff options
author | hjk <[email protected]> | 2023-07-19 09:06:17 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2023-07-20 09:31:09 +0000 |
commit | b14b7b1a5fb9dfba90d9aeb4d6f56a758a58ebe1 (patch) | |
tree | e55faf2ca119b5c6675c0b99da20eef49b351038 /src/plugins/terminal/terminalwidget.cpp | |
parent | 7dfdb6d36c44b070470605d2b9d1b52c2af648c0 (diff) |
Replace a few more Aspect::value() calls with operator() uses
Change-Id: I9343e74bfb51af41df02a411976b82b9260be2fb
Reviewed-by: Jarek Kobus <[email protected]>
Diffstat (limited to 'src/plugins/terminal/terminalwidget.cpp')
-rw-r--r-- | src/plugins/terminal/terminalwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/terminal/terminalwidget.cpp b/src/plugins/terminal/terminalwidget.cpp index fdb5547a4f6..63826ea6d99 100644 --- a/src/plugins/terminal/terminalwidget.cpp +++ b/src/plugins/terminal/terminalwidget.cpp @@ -1004,7 +1004,7 @@ void TerminalWidget::paintCursor(QPainter &p) const cursor.shape = Internal::Cursor::Shape::Underline; const bool blinkState = !cursor.blink || m_cursorBlinkState - || !settings().allowBlinkingCursor.value(); + || !settings().allowBlinkingCursor(); if (cursor.visible && blinkState) { const int cursorCellWidth = m_surface->cellWidthAt(cursor.position.x(), cursor.position.y()); @@ -1160,7 +1160,7 @@ void TerminalWidget::keyPressEvent(QKeyEvent *event) } if (event->key() == Qt::Key_Escape) { - bool sendToTerminal = settings().sendEscapeToTerminal.value(); + bool sendToTerminal = settings().sendEscapeToTerminal(); bool send = false; if (sendToTerminal && event->modifiers() == Qt::NoModifier) send = true; |