Changeset View
Changeset View
Standalone View
Standalone View
src/TerminalDisplay.cpp
Show First 20 Lines • Show All 3589 Lines • ▼ Show 20 Line(s) | 3588 | if (_allowBlinkingCursor) { | |||
---|---|---|---|---|---|
3590 | if (_cursorBlinking) { | 3590 | if (_cursorBlinking) { | ||
3591 | // if cursor is blinking(hidden), blink it again to show it | 3591 | // if cursor is blinking(hidden), blink it again to show it | ||
3592 | blinkCursorEvent(); | 3592 | blinkCursorEvent(); | ||
3593 | } | 3593 | } | ||
3594 | Q_ASSERT(!_cursorBlinking); | 3594 | Q_ASSERT(!_cursorBlinking); | ||
3595 | } | 3595 | } | ||
3596 | } | 3596 | } | ||
3597 | 3597 | | |||
3598 | if (_searchBar->isVisible() && (event->key() & Qt::Key_Escape)) { | ||||
tcanabrava: if (_searchBar->isVisible() && ...) ? | |||||
3599 | _searchBar->hide(); | ||||
3600 | } | ||||
3601 | | ||||
3598 | emit keyPressedSignal(event); | 3602 | emit keyPressedSignal(event); | ||
3599 | 3603 | | |||
3600 | #ifndef QT_NO_ACCESSIBILITY | 3604 | #ifndef QT_NO_ACCESSIBILITY | ||
3601 | if (!_readOnly) { | 3605 | if (!_readOnly) { | ||
3602 | QAccessibleTextCursorEvent textCursorEvent(this, _usedColumns * screenWindow()->screen()->getCursorY() + screenWindow()->screen()->getCursorX()); | 3606 | QAccessibleTextCursorEvent textCursorEvent(this, _usedColumns * screenWindow()->screen()->getCursorY() + screenWindow()->screen()->getCursorX()); | ||
3603 | QAccessible::updateAccessibility(&textCursorEvent); | 3607 | QAccessible::updateAccessibility(&textCursorEvent); | ||
3604 | } | 3608 | } | ||
3605 | #endif | 3609 | #endif | ||
▲ Show 20 Lines • Show All 374 Lines • Show Last 20 Lines |
if (_searchBar->isVisible() && ...) ?