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

Willyanto <willyant...@protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kdeplasma-addons/commit/
                   |                            |d50d47ea4be689c46da41a0fa1a
                   |                            |2d7955acbcaf7

--- Comment #9 from Willyanto <willyant...@protonmail.com> ---
Git commit d50d47ea4be689c46da41a0fa1a2d7955acbcaf7 by Willyanto Willyanto.
Committed on 23/12/2020 at 14:43.
Pushed by ngraham into branch 'master'.

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.

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

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

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

Reply via email to