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

Kai Uwe Broulik <[email protected]> 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/1d10b72740ff09e1ec5578f21 |t/31a64dfa1a71ab1b6a495f2f4
                   |4992617790aa81b             |4132c86858acb8f

--- Comment #21 from Kai Uwe Broulik <[email protected]> ---
Git commit 31a64dfa1a71ab1b6a495f2f44132c86858acb8f by Kai Uwe Broulik.
Committed on 21/05/2026 at 06:08.
Pushed by broulik into branch 'Plasma/6.6'.

libnotificationmanager: Return something of the correct type for most roles

Qt doesn't like the model not return anything (empty QVariant) when
put in a required property for a model. For example required property string
will happily convert to "undefined" as a string which then blows up in
client code left and right.

Therefore, return something of the correct type for most job properties.

See also 1f246410 which addressed this in one case but seems Qt 6.11.1
changed it again to be broken in more places.


(cherry picked from commit faf0e944008a8ce3182e11a2ee192b1589c5661a)

Co-authored-by: Kai Uwe Broulik <[email protected]>

M  +29   -0    libnotificationmanager/jobsmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/31a64dfa1a71ab1b6a495f2f44132c86858acb8f

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

Reply via email to