No way to choose a peer other than default from QML bindings
Bug #1236932 reported by
Ken VanDine
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
content-hub (Ubuntu) |
Fix Released
|
High
|
Ken VanDine |
Bug Description
In the QML bindings, there is no way to construct a peer and knownSourcesForType doesn't return a QML friendly list of peers. This limits the QML bindings to only using default peer for a type.
Related branches
lp:~ken-vandine/content-hub/lp1236932
- PS Jenkins bot: Approve (continuous-integration)
- Günter Schwann (community): Approve
-
Diff: 264 lines (+96/-54)5 files modifiedexamples/import-qml/import.qml (+78/-34)
import/Ubuntu/Content/contenthub.cpp (+3/-4)
import/Ubuntu/Content/contenthub.h (+1/-1)
import/Ubuntu/Content/contentpeer.cpp (+10/-11)
import/Ubuntu/Content/contentpeer.h (+4/-4)
affects: | content-hub → content-hub (Ubuntu) |
Changed in content-hub (Ubuntu): | |
assignee: | nobody → Günter Schwann (schwann) |
Changed in content-hub (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
Changed in content-hub (Ubuntu): | |
assignee: | Günter Schwann (schwann) → Ken VanDine (ken-vandine) |
Changed in content-hub (Ubuntu): | |
status: | New → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package content-hub - 0.0+14. 04.20131025- 0ubuntu1
--------------- 04.20131025- 0ubuntu1) trusty; urgency=low
content-hub (0.0+14.
[ Ken VanDine ]
* return a QVariantList from knownSourcesForType so the QML bindings
can expose a list of peers, fixes (LP: #1236932). (LP: #1236932)
* Added qdoc docs for QML bindings.
[ Ubuntu daily release ]
* Automatic snapshot from revision 63
-- Ubuntu daily release <email address hidden> Fri, 25 Oct 2013 11:04:43 +0000