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

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
                   |3088e75c0fe91b7880515a13795 |84e0f5cac4d4d262815d845f32e
                   |9a7723da74e78               |806ecb0ca3b30

--- Comment #3 from Akseli Lahtinen <[email protected]> ---
Git commit 84e0f5cac4d4d262815d845f32e806ecb0ca3b30 by Akseli Lahtinen.
Committed on 16/12/2025 at 19:35.
Pushed by akselmo into branch 'Plasma/6.5'.

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.


(cherry picked from commit 3088e75c0fe91b7880515a137959a7723da74e78)

Co-authored-by: Akseli Lahtinen <[email protected]>

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

https://invent.kde.org/plasma/plasma-desktop/-/commit/84e0f5cac4d4d262815d845f32e806ecb0ca3b30

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

Reply via email to