File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -369,11 +369,6 @@ void FeedsView::openSelectedItemsInNewspaperMode() {
369
369
void FeedsView::selectNextItem () {
370
370
QModelIndex index_next = moveCursor (QAbstractItemView::CursorAction::MoveDown, Qt::KeyboardModifier::NoModifier);
371
371
372
- while (m_proxyModel->hasChildren (index_next) && !isExpanded (index_next)) {
373
- expand (index_next);
374
- index_next = moveCursor (QAbstractItemView::CursorAction::MoveDown, Qt::KeyboardModifier::NoModifier);
375
- }
376
-
377
372
if (index_next.isValid ()) {
378
373
setCurrentIndex (index_next);
379
374
scrollTo (index_next, QAbstractItemView::ScrollHint::EnsureVisible);
@@ -385,11 +380,6 @@ void FeedsView::selectNextItem() {
385
380
void FeedsView::selectPreviousItem () {
386
381
QModelIndex index_previous = moveCursor (QAbstractItemView::CursorAction::MoveUp, Qt::KeyboardModifier::NoModifier);
387
382
388
- while (m_proxyModel->hasChildren (index_previous) && !isExpanded (index_previous)) {
389
- expand (index_previous);
390
- index_previous = moveCursor (QAbstractItemView::CursorAction::MoveUp, Qt::KeyboardModifier::NoModifier);
391
- }
392
-
393
383
if (index_previous.isValid ()) {
394
384
setCurrentIndex (index_previous);
395
385
scrollTo (index_previous, QAbstractItemView::ScrollHint::EnsureVisible);
You can’t perform that action at this time.
0 commit comments