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

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |3088e75c0fe91b7880515a13795
                   |                            |9a7723da74e78
         Resolution|---                         |FIXED

--- Comment #2 from Akseli Lahtinen <[email protected]> ---
Git commit 3088e75c0fe91b7880515a137959a7723da74e78 by Akseli Lahtinen.
Committed on 16/12/2025 at 15:00.
Pushed by akselmo into branch 'master'.

views/Desktop: Set applets property explicitly to list of strings

This ensures that the applets property sends a notify of its change
properly whenever it's changed.

With "var" type, it will not trigger updates to any bindings
using it. With "list<string>" type the update is sent properly.
See: https://doc.qt.io/qt-6/qml-var.html#change-notification-semantics

Also use "let" instead of "var" in AppletDelegate onClicked, to ensure
the variables are in correct scope and properly reset.

M  +2    -2    desktoppackage/contents/explorer/AppletDelegate.qml
M  +1    -1    desktoppackage/contents/views/Desktop.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/3088e75c0fe91b7880515a137959a7723da74e78

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

Reply via email to