X-Git-Url: http://git.maemo.org/git/?p=quicknewsreader;a=blobdiff_plain;f=qml%2FQuickNewsReader%2Fcontent%2Fview%2FNews.qml;h=cc71822151bfd4c0e39b93dadc2298e038663a47;hp=b6a7c1bde266df5b374d1df0efc5763274fac7a1;hb=a51793a460112730f0fed3d58dcc3c4b2393553e;hpb=fba8f6f66f7884da548bc9da7adc103777c25e07 diff --git a/qml/QuickNewsReader/content/view/News.qml b/qml/QuickNewsReader/content/view/News.qml index b6a7c1b..cc71822 100644 --- a/qml/QuickNewsReader/content/view/News.qml +++ b/qml/QuickNewsReader/content/view/News.qml @@ -8,8 +8,11 @@ Item { x: 0; y: 0 id: list width: newsRect.width; height: window.height - model: currentJournal.newsModel + model: currentSource.listModels[componentDepth-1] delegate: NewsDelegate { } + highlight: Rectangle { color: "steelblue" } } ScrollBar { scrollArea: list; height: list.height; width: 8; anchors.right: list.right } + + Component.onCompleted: list.currentIndex = -1 }