- if (!m_appliedArrowCursor) {
- m_appliedArrowCursor = true;
- // Apply the arrow asynchronously. This is required for
- // the following usecase:
- // 1. Cursor is above the viewport left beside an item
- // 2. Cursor is moved above the item, so that the selection-toggle
- // and the item are entered equally.
- // In this situation it is not defined who gets the enter-event first.
- // As the selection-toggle is above the item, it should overwrite possible
- // cursor changes done by the item.
- QTimer::singleShot(0, this, SLOT(applyArrowCursor()));
- }
-