Added test torrent files to right place, $HOME/MyDocs.
authorlvaatamoinen <lassi.vaatamoinen@ixonos.com>
Mon, 30 Jan 2012 19:11:54 +0000 (19:11 +0000)
committerlvaatamoinen <lassi.vaatamoinen@ixonos.com>
Mon, 30 Jan 2012 19:11:54 +0000 (19:11 +0000)
Made torrent items clickable in ListView.

git-svn-id: file:///svnroot/qtrapids/trunk@88 42ac0dd5-4c8c-4c71-bb3e-ecdfe252ffda

src/qml-client/qml/TorrentPickerPage.qml

index 44226af..162dea6 100644 (file)
@@ -44,11 +44,14 @@ Page {
         Item {
             height: 60
             width: parent.width
-            Text {
-                text: "Torrent"
-            }
-            Text {
-                text: url
+            MouseArea {
+                Text {
+                    height: parent.height
+                    width: parent.width
+                    text: url
+                }
+                anchors.fill: parent
+                onClicked: { console.log("selected torrent: " + url); }
             }
         }
     }