diff options
author | Axel Spoerl <[email protected]> | 2024-01-24 13:13:33 +0100 |
---|---|---|
committer | Axel Spoerl <[email protected]> | 2025-07-07 11:34:50 +0100 |
commit | c9c3ea444503438cb92644574ac24a0e564db6a6 (patch) | |
tree | bc9751fb928e3d39523e93641bf9747aa47c7ddf | |
parent | d136963fd6c121c7904717ce6e3ab6d9d5011c7e (diff) |
qCDebug() accordingly, when focus is wrapped, i.e. passed from the last
to the first or from the first to the last item.
Task-number: QTBUG-121478
Change-Id: Iedb1e58ac3fee34d654bc2790143a3fed767ab8a
Reviewed-by: Doris Verria <[email protected]>
-rw-r--r-- | src/quick/items/qquickitem.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp index a406a3538e..8fe0e4deb8 100644 --- a/src/quick/items/qquickitem.cpp +++ b/src/quick/items/qquickitem.cpp @@ -2661,8 +2661,12 @@ QQuickItem* QQuickItemPrivate::nextPrevItemInTabFocusChain(QQuickItem *item, boo // Wrap around after checking all items forward if (forward) { current = firstChild; + qCDebug(lcFocus) << "QQuickItemPrivate::nextPrevItemInTabFocusChain:" + << "wrapping from last to first:" << current; } else { current = lastChild; + qCDebug(lcFocus) << "QQuickItemPrivate::nextPrevItemInTabFocusChain:" + << "wrapping from first to last:" << current; if (!current->childItems().isEmpty()) skip = true; } |