Merge lp:~tiagosh/dee-qt/dee-qt-local-models into lp:dee-qt/0.2
Proposed by
Tiago Salem Herrmann
Status: | Merged |
---|---|
Approved by: | Albert Astals Cid |
Approved revision: | 67 |
Merged at revision: | 62 |
Proposed branch: | lp:~tiagosh/dee-qt/dee-qt-local-models |
Merge into: | lp:dee-qt/0.2 |
Diff against target: |
98 lines (+39/-2) 2 files modified
deelistmodel.cpp (+37/-2) deelistmodel.h (+2/-0) |
To merge this branch: | bzr merge lp:~tiagosh/dee-qt/dee-qt-local-models |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Albert Astals Cid (community) | Approve | ||
Gerry Boland (community) | Needs Fixing | ||
Michal Hruby (community) | Needs Fixing | ||
Review via email: mp+90897@code.launchpad.net |
Description of the change
This MR implements a new method that makes libqtdee able to handle local models.
This is needed by unity-2d, as the new Home Lens implementation uses a local model instead of a remote/shared one.
To post a comment you must log in.
28 - g_object_ unref(m_ deeModel) ; unref(m_ deeModel) ;
29 + if (!m_isLocal)
30 + g_object_
Please don't do that, take a reference on the model even if it's a local model.
46 + m_deeModel = model;
Looks like here is a good place to do that ("m_deeModel = (DeeModel* )g_object_ ref (model);")