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

cwo <cwo....@posteo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/e3f43758f6997dee33e0d4fb7 |t/64e8dfceed4e0038f7af11a2a
                   |c7afcda44312a35             |266dfab10b2a391

--- Comment #3 from cwo <cwo....@posteo.net> ---
Git commit 64e8dfceed4e0038f7af11a2a266dfab10b2a391 by Christoph Wolk.
Committed on 08/03/2025 at 07:11.
Pushed by cwo into branch 'Plasma/6.3'.

applets/systemtray: remove KSortFilterProxyModel binding loop

The systemtray's KSortFilterProxyModels bind to the model exposed on the
C++ side, which are in turn QSortFilterProxyModels. This causes a
binding loop.

The binding is unnecessary in first place though, the (sorted) models
are marked as CONSTANT and cannot themselves change (their contents can,
of course, but it's still the same sorted models). So we can just set it
once on startup and avoid the bindings and any errors or effort
associated with them.


(cherry picked from commit e3f43758f6997dee33e0d4fb7c7afcda44312a35)

Co-authored-by: Christoph Wolk <cwo....@posteo.net>

M  +1    -1    applets/systemtray/package/contents/ui/ConfigEntries.qml
M  +2    -2    applets/systemtray/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/64e8dfceed4e0038f7af11a2a266dfab10b2a391

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

Reply via email to