git.iko.soy/maciek134/podphoenix
on main help sign in
Minor code cleanups
4fcfeecMike Sheldon
app/ui/ImportPage.qml+3−4
@@ -3,7 +3,6 @@ import Ubuntu.Components 1.3
3import Ubuntu.Content 1.3
3import Ubuntu.Content 1.3
4
4
5
5
6−
7Page {
6Page {
8 id: picker
7 id: picker
9 property var activeTransfer
8 property var activeTransfer
@@ -23,8 +22,8 @@ Page {
23 anchors { fill: parent; topMargin: picker.header.height }
22 anchors { fill: parent; topMargin: picker.header.height }
24 visible: parent.visible
23 visible: parent.visible
25 showTitle: false
24 showTitle: false
26− contentType: picker.contentType //ContentType.Pictures
25+ contentType: picker.contentType
27− handler: picker.handler //ContentHandler.Source
26+ handler: picker.handler
28
27
29 onPeerSelected: {
28 onPeerSelected: {
30 peer.selectionType = ContentTransfer.Single
29 peer.selectionType = ContentTransfer.Single
@@ -44,7 +43,6 @@ Page {
44 })
43 })
45 }
44 }
46
45
47−
48 onCancelPressed: {
46 onCancelPressed: {
49 pageStack.pop()
47 pageStack.pop()
50 }
48 }
@@ -55,6 +53,7 @@ Page {
55 anchors.fill: parent
53 anchors.fill: parent
56 activeTransfer: picker.activeTransfer
54 activeTransfer: picker.activeTransfer
57 }
55 }
56+
58 Component {
57 Component {
59 id: resultComponent
58 id: resultComponent
60 ContentItem {}
59 ContentItem {}
app/ui/SearchPage.qml+2−2
@@ -495,8 +495,8 @@ Page {
495 id: loadingDialog
495 id: loadingDialog
496
496
497 modal: true;
497 modal: true;
498− title: i18n.tr("Please wait!")
498+ title: i18n.tr("Please wait")
499− text: i18n.tr("Importing podcasts.")
499+ text: i18n.tr("Importing podcasts...")
500
500
501 ActivityIndicator {
501 ActivityIndicator {
502 running: true
502 running: true