Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • P Plasma Add-ons
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PlasmaPlasma
  • Plasma Add-ons
  • Merge requests
  • !43

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

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Willyanto Willyanto requested to merge willyanto/kdeplasma-addons:fix-crash-in-weather-widget into master Dec 23, 2020
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

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.

BUG: 419709

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-crash-in-weather-widget