summaryrefslogtreecommitdiff
path: root/qml/tapasboard/TopicPage.qml
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-04-04 00:00:38 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-04-04 00:00:38 +0200
commit5d8d6fed3fd7dd796a5a3093a7dbd46fab8d380a (patch)
tree56d1aa55260d0081cfd99b52c53f5ddc78cba200 /qml/tapasboard/TopicPage.qml
parenta6d8b23fd03993c0b94d21806ac3a36e251c8b9c (diff)
downloadtapasboard-5d8d6fed3fd7dd796a5a3093a7dbd46fab8d380a.tar.gz
tapasboard-5d8d6fed3fd7dd796a5a3093a7dbd46fab8d380a.zip
pass Board objects instead of boardUrls around QML
Diffstat (limited to 'qml/tapasboard/TopicPage.qml')
-rw-r--r--qml/tapasboard/TopicPage.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qml/tapasboard/TopicPage.qml b/qml/tapasboard/TopicPage.qml
index 805154f..ba132b5 100644
--- a/qml/tapasboard/TopicPage.qml
+++ b/qml/tapasboard/TopicPage.qml
@@ -9,7 +9,7 @@ Page {
anchors.leftMargin: UiConstants.DefaultMargin
anchors.rightMargin: UiConstants.DefaultMargin
- property string boardUrl;
+ property Board board;
property int topicId;
tools: ToolBarLayout {
@@ -25,7 +25,7 @@ Page {
id: postsView
anchors.fill: parent
model: TopicModel {
- boardUrl: topicPage.boardUrl
+ board: topicPage.board
topicId: topicPage.topicId
}
section.property: "humanDate"