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

Marco Martin <notm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/libplasma/-/commit/1a5c8
                   |                            |9f58733f8e74b2eead746cca5d5
                   |                            |7eff325c

--- Comment #4 from Marco Martin <notm...@gmail.com> ---
Git commit 1a5c89f58733f8e74b2eead746cca5d57eff325c by Marco Martin.
Committed on 16/01/2024 at 20:54.
Pushed by mart into branch 'master'.

Don't crash when there is an incorrect second PlasmoidItem

Declaring a PalsmoidITem or a ContainmentITem anywhere else than the
QML root item is not supported and clearly an error, but never the less,
it should never crash.
this patch puts enough guards that the resulting plasmoid is broken and
doesn't do anything, but doesn't crash plasma anymore.

M  +8    -2    src/plasmaquick/appletquickitem.cpp
M  +13   -0    src/plasmaquick/plasmoid/containmentitem.cpp
M  +4    -0    src/plasmaquick/plasmoid/plasmoiditem.cpp
M  +1    -1    src/plasmaquick/private/appletquickitem_p.h

https://invent.kde.org/plasma/libplasma/-/commit/1a5c89f58733f8e74b2eead746cca5d57eff325c

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

Reply via email to