Merge lp:~boiko/dialer-app/fix_call_end_warnings into lp:dialer-app

Proposed by Gustavo Pichorim Boiko
Status: Merged
Approved by: Gustavo Pichorim Boiko
Approved revision: 302
Merged at revision: 316
Proposed branch: lp:~boiko/dialer-app/fix_call_end_warnings
Merge into: lp:dialer-app
Diff against target: 81 lines (+17/-4)
3 files modified
src/qml/LiveCallPage/LiveCall.qml (+13/-1)
src/qml/LiveCallPage/MultiCallDisplay.qml (+2/-2)
src/qml/dialer-app.qml (+2/-1)
To merge this branch: bzr merge lp:~boiko/dialer-app/fix_call_end_warnings
Reviewer Review Type Date Requested Status
Renato Araujo Oliveira Filho (community) Approve
PS Jenkins bot continuous-integration Needs Fixing
Review via email: mp+239127@code.launchpad.net

Commit message

Fix a lot of warnings.

Description of the change

Fix a lot of warnings.

== Checklist ==
Are there any related MPs required for this MP to build/function as expected? Please list.
No

Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)
Yes

Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator?
Yes

Did you successfully run all tests found in your component's Test Plan (https://wiki.ubuntu.com/Process/Merges/TestPlan/<package-name>) on device or emulator?
Yes

If you changed the UI, was the change specified/approved by design?
N/A

If you changed UI labels, did you update the pot file?
N/A

If you changed the packaging (debian), did you add a core-dev as a reviewer to this MP?
N/A

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

Did you perform an exploratory manual test run of the code change and any related functionality on device or emulator?
Yes

Did CI run pass? If not, please explain why.
No, but not related to the MR

Have you checked that submitter has accurately filled out the submitter checklist and has taken no shortcut?
Yes

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/qml/LiveCallPage/LiveCall.qml'
2--- src/qml/LiveCallPage/LiveCall.qml 2014-10-07 17:01:28 +0000
3+++ src/qml/LiveCallPage/LiveCall.qml 2014-10-21 19:53:09 +0000
4@@ -32,6 +32,7 @@
5 objectName: "pageLiveCall"
6
7 property var call: callManager.foregroundCall
8+ property var calls: callManager.calls
9 property string dtmfEntry: ""
10 property alias number: contactWatcher.phoneNumber
11 property bool onHold: call ? call.held : false
12@@ -90,6 +91,7 @@
13 return;
14 }
15 statusLabel.text = text;
16+ callConnection.target = null;
17 liveCall.call = callObject;
18 liveCall.dtmfVisible = false;
19 newCallAction.visible = false;
20@@ -106,11 +108,21 @@
21 }
22
23 Connections {
24+ id: callConnection
25 target: call
26 onCallEnded: {
27 var callObject = {};
28 callObject["elapsedTime"] = call.elapsedTime;
29 callObject["active"] = true;
30+ callObject["voicemail"] = call.voicemail;
31+ callObject["account"] = call.account;
32+ callObject["phoneNumber"] = call.phoneNumber;
33+ callObject["held"] = call.held;
34+ callObject["muted"] = call.muted;
35+ callObject["activeAudioOutput"] = call.activeAudioOutput;
36+ callObject["audioOutputs"] = call.audioOutputs;
37+ callObject["isConference"] = call.isConference;
38+
39 reportStatus(callObject, i18n.tr("Call ended"));
40 }
41 }
42@@ -456,7 +468,7 @@
43 }
44
45 width: childrenRect.width
46- height: childrenRect.height
47+ height: swapButton.height
48 opacity: multiCall && !dtmfVisible ? 1 : 0
49 enabled : opacity > 0
50 spacing: units.gu(3)
51
52=== modified file 'src/qml/LiveCallPage/MultiCallDisplay.qml'
53--- src/qml/LiveCallPage/MultiCallDisplay.qml 2014-08-25 23:40:35 +0000
54+++ src/qml/LiveCallPage/MultiCallDisplay.qml 2014-10-21 19:53:09 +0000
55@@ -45,8 +45,8 @@
56
57 height: units.gu(10) + conferenceArea.height
58 anchors {
59- left: parent.left
60- right: parent.right
61+ left: parent ? parent.left : undefined
62+ right: parent ? parent.right : undefined
63 }
64
65 ContactWatcher {
66
67=== modified file 'src/qml/dialer-app.qml'
68--- src/qml/dialer-app.qml 2014-10-06 19:59:17 +0000
69+++ src/qml/dialer-app.qml 2014-10-21 19:53:09 +0000
70@@ -39,9 +39,10 @@
71 // than one account, otherwise we use always the first one
72 if (multipleAccounts) {
73 return telepathyHelper.defaultCallAccount
74- } else {
75+ } else if (telepathyHelper.activeAccounts.length > 0){
76 return telepathyHelper.activeAccounts[0]
77 }
78+ return null;
79 }
80
81 automaticOrientation: false

Subscribers

People subscribed via source and target branches