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
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/faf0e944008a8ce3182e11a2e
                   |                            |e192b1589c5661a
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #17 from Kai Uwe Broulik <[email protected]> ---
Git commit faf0e944008a8ce3182e11a2ee192b1589c5661a by Kai Uwe Broulik.
Committed on 19/05/2026 at 10:27.
Pushed by broulik into branch 'master'.

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.

M  +29   -0    libnotificationmanager/jobsmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/faf0e944008a8ce3182e11a2ee192b1589c5661a

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

Reply via email to