Changeset 651 for trunk/src/gui/widgets/qlinecontrol.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/widgets/qlinecontrol.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 511 511 } else { 512 512 // mask selection 513 o.start = m_cursor; 514 o.length = 1; 515 o.format.setBackground(m_palette.brush(QPalette::Text)); 516 o.format.setForeground(m_palette.brush(QPalette::Window)); 513 if(!m_blinkPeriod || m_blinkStatus){ 514 o.start = m_cursor; 515 o.length = 1; 516 o.format.setBackground(m_palette.brush(QPalette::Text)); 517 o.format.setForeground(m_palette.brush(QPalette::Window)); 518 } 517 519 } 518 520 selections.append(o); … … 523 525 524 526 if (flags & DrawCursor){ 527 528 529 525 530 if(!m_blinkPeriod || m_blinkStatus) 526 m_textLayout.drawCursor(painter, offset, m_cursor, m_cursorWidth);531 m_textLayout.drawCursor(painter, offset, cursor, m_cursorWidth); 527 532 } 528 533 }
Note:
See TracChangeset
for help on using the changeset viewer.