Merge lp://staging/~brendan-donegan/checkbox/gui_whitelist_ordering into lp://staging/checkbox
Proposed by
Brendan Donegan
Status: | Merged |
---|---|
Approved by: | Zygmunt Krynicki |
Approved revision: | 2787 |
Merged at revision: | 2798 |
Proposed branch: | lp://staging/~brendan-donegan/checkbox/gui_whitelist_ordering |
Merge into: | lp://staging/checkbox |
Diff against target: |
200 lines (+46/-70) 2 files modified
checkbox-gui/gui-engine/gui-engine.cpp (+44/-68) checkbox-gui/gui-engine/gui-engine.h (+2/-2) |
To merge this branch: | bzr merge lp://staging/~brendan-donegan/checkbox/gui_whitelist_ordering |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zygmunt Krynicki (community) | Approve | ||
Review via email:
|
Description of the change
This branch implements whitelist ordering in checkbox-gui with the help of the SelectJobs function added to the dbus service interface - which itself returns a set of jobs selected by the provided whitelist, in the order specified in those whitelists.
To post a comment you must log in.
8 - JobTreeNode: :FilteredJobs( m_final_ run_list, m_desired_ job_list) ; :FilteredJobs( m_desired_ job_list, m_final_ run_list) ;
9 + JobTreeNode:
Sanity check ^^ argument swap is intentional?
+QList< QDBusObjectPath > GuiEngine: :GetLocalJobs( QList<QDBusObje ctPath> job_list)
I'm not sure (quite rusty on QT) about that but do you intend to copy the whole list of object paths over? Could we pass this as a const reference instead?