https://bugs.kde.org/show_bug.cgi?id=490677

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |28aede3a7d55fdbec8c5d23f495
                   |                            |9404b0ddd69f1
         Resolution|---                         |FIXED

--- Comment #18 from Akseli Lahtinen <[email protected]> ---
Git commit 28aede3a7d55fdbec8c5d23f4959404b0ddd69f1 by Akseli Lahtinen.
Committed on 26/09/2025 at 08:49.
Pushed by akselmo into branch 'master'.

FolderView: Use let instead of var, check for item existence

We should use let keyword here instead of var, since
var is scoped to whole function, while let is scoped to blocks.

This would cause the itemX and itemY grow indefinitely in some cases.

Check also for item existing before trying to check intersection to
avoid warning log spam.

M  +19   -18   containments/desktop/package/contents/ui/FolderView.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/28aede3a7d55fdbec8c5d23f4959404b0ddd69f1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to