Merge lp:~mzanetti/unity8/parent-that-launcheritem into lp:unity8
Status: | Superseded |
---|---|
Proposed branch: | lp:~mzanetti/unity8/parent-that-launcheritem |
Merge into: | lp:unity8 |
Diff against target: |
102 lines (+19/-7) 5 files modified
plugins/Unity/Launcher/launcheritem.cpp (+1/-0) plugins/Unity/Launcher/launcheritem.h (+1/-1) plugins/Unity/Launcher/launchermodel.cpp (+15/-5) plugins/Unity/Launcher/launchermodel.h (+1/-1) qml/Launcher/LauncherDelegate.qml (+1/-0) |
To merge this branch: | bzr merge lp:~mzanetti/unity8/parent-that-launcheritem |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity8 CI Bot | continuous-integration | Needs Fixing | |
Albert Astals Cid (community) | Approve | ||
Review via email: mp+288412@code.launchpad.net |
This proposal has been superseded by a proposal from 2016-03-10.
Commit message
Properly parent launcher items in all cases
It is required to keep object ownership within C++ or QML would delete items in some circumstances which leads to crashes.
Description of the change
* Are there any related MPs required for this MP to build/function as expected? Please list.
no
* Did you perform an exploratory manual test run of your code change and any related functionality?
no.. there's no change in behaviour. I believe this fixes a crash
https:/
however, still need to figure how to reproduce this.
* Did you make sure that your branch does not contain spurious tags?
yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
n/a
* If you changed the UI, has there been a design review?
n/a
Should we also remove the = 0 from the LauncherItem constructor for the parent argument then?