diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-10-30 04:25:28 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-10-30 04:25:28 (GMT) |
commit | edc12380b662978a56622ed37f6e260b056646d3 (patch) | |
tree | dc978d7a9d635cacc29fa7de2f91b5271b43d2d0 /demos/declarative/twitter | |
parent | d6a5e635a1605820571f83b375377d7d5dcb8968 (diff) | |
download | Qt-edc12380b662978a56622ed37f6e260b056646d3.zip Qt-edc12380b662978a56622ed37f6e260b056646d3.tar.gz Qt-edc12380b662978a56622ed37f6e260b056646d3.tar.bz2 |
fix twitter example
Diffstat (limited to 'demos/declarative/twitter')
-rw-r--r-- | demos/declarative/twitter/content/FatDelegate.qml | 4 | ||||
-rw-r--r-- | demos/declarative/twitter/twitter.qml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/demos/declarative/twitter/content/FatDelegate.qml b/demos/declarative/twitter/content/FatDelegate.qml index 194ffb3..4df251f 100644 --- a/demos/declarative/twitter/content/FatDelegate.qml +++ b/demos/declarative/twitter/content/FatDelegate.qml @@ -15,8 +15,8 @@ Component { } } function addTags(str){ - ret = str.replace(/@[a-zA-Z0-9_]+/g, '<a href="app://$&">$&</a>');//click to jump to user? - ret2 = ret.replace(/http:\/\/[^ \n\t]+/g, '<a href="$&">$&</a>');//surrounds http links with html link tags + var ret = str.replace(/@[a-zA-Z0-9_]+/g, '<a href="app://$&">$&</a>');//click to jump to user? + var ret2 = ret.replace(/http:\/\/[^ \n\t]+/g, '<a href="$&">$&</a>');//surrounds http links with html link tags return ret2; } } diff --git a/demos/declarative/twitter/twitter.qml b/demos/declarative/twitter/twitter.qml index fdeb839..23ca774 100644 --- a/demos/declarative/twitter/twitter.qml +++ b/demos/declarative/twitter/twitter.qml @@ -29,7 +29,7 @@ Item { id: background anchors.fill: parent; color: "#343434"; - Image { source: "mobile/images/stripes.png"; fillMode: Image.Tile; anchors.fill: parent; opacity: 0.3 } + Image { source: "../flickr/mobile/images/stripes.png"; fillMode: Image.Tile; anchors.fill: parent; opacity: 0.3 } Twitter.RssModel { id: rssModel } Common.Loading { anchors.centerIn: parent; visible: rssModel.status==XmlListModel.Loading && state!='unauthed'} |