diff options
| author | Méven Car <[email protected]> | 2025-04-29 12:33:44 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-04-29 12:33:44 +0200 |
| commit | 0464ea82a6850f58805bc4d6fc1df5369d83c3df (patch) | |
| tree | cd3747579d3f6fd08a59c915c4002aeaab580951 /src/views/dolphinview.cpp | |
| parent | 246fdb3ebbde298ddb20f0323ba717c5cf9ba925 (diff) | |
Clazy fix
Diffstat (limited to 'src/views/dolphinview.cpp')
| -rw-r--r-- | src/views/dolphinview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index ee7ac51d2..0afa27d73 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -1883,7 +1883,7 @@ void DolphinView::selectNextItem() Q_ASSERT_X(false, "DolphinView", "Selecting the next item failed."); return; } - const auto lastSelectedIndex = m_model->index(selectedItems().last()); + const auto lastSelectedIndex = m_model->index(*selectedItems().constEnd()); if (lastSelectedIndex < 0) { Q_ASSERT_X(false, "DolphinView", "Selecting the next item failed."); return; |
