summaryrefslogtreecommitdiffstats
path: root/demos/declarative
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-30 04:25:28 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-30 04:25:28 (GMT)
commitedc12380b662978a56622ed37f6e260b056646d3 (patch)
treedc978d7a9d635cacc29fa7de2f91b5271b43d2d0 /demos/declarative
parentd6a5e635a1605820571f83b375377d7d5dcb8968 (diff)
downloadQt-edc12380b662978a56622ed37f6e260b056646d3.zip
Qt-edc12380b662978a56622ed37f6e260b056646d3.tar.gz
Qt-edc12380b662978a56622ed37f6e260b056646d3.tar.bz2
fix twitter example
Diffstat (limited to 'demos/declarative')
-rw-r--r--demos/declarative/twitter/content/FatDelegate.qml4
-rw-r--r--demos/declarative/twitter/twitter.qml2
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'}