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

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kdeplasma-addons/commit/ |ma/kdeplasma-addons/commit/
                   |d50d47ea4be689c46da41a0fa1a |1dbb185725e365d3f375740eb3d
                   |2d7955acbcaf7               |dcc00afbf4cd1

--- Comment #10 from Nate Graham <[email protected]> ---
Git commit 1dbb185725e365d3f375740eb3ddcc00afbf4cd1 by Nate Graham, on behalf
of Willyanto Willyanto.
Committed on 23/12/2020 at 15:18.
Pushed by ngraham into branch 'Plasma/5.20'.

Fix weather widget crash when going to Units tab for the second time

The AbstractUnitListModel is destroyed everytime we leave Units tab
and when we are going to the Units tab for the second time, qml will
try to access AbstractUnitListModel that is already destroyed.
This causes segmentation fault.

Set AbstractUnitListModel parent to qml engine so that the
AbstractUnitListModel is destroyed when qml engine is
destroyed.


(cherry picked from commit d50d47ea4be689c46da41a0fa1a2d7955acbcaf7)

M  +4    -8    applets/weather/plugin/plugin.cpp

https://invent.kde.org/plasma/kdeplasma-addons/commit/1dbb185725e365d3f375740eb3ddcc00afbf4cd1

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

Reply via email to