Merge lp:~tiagosh/telephony-service/rtm-14.09-fix-1398431 into lp:telephony-service/rtm-14.09

Proposed by Tiago Salem Herrmann
Status: Merged
Approved by: Bill Filler
Approved revision: 911
Merged at revision: 911
Proposed branch: lp:~tiagosh/telephony-service/rtm-14.09-fix-1398431
Merge into: lp:telephony-service/rtm-14.09
Diff against target: 11 lines (+1/-1)
1 file modified
libtelephonyservice/callentry.cpp (+1/-1)
To merge this branch: bzr merge lp:~tiagosh/telephony-service/rtm-14.09-fix-1398431
Reviewer Review Type Date Requested Status
Ubuntu Phablet Team Pending
Review via email: mp+244626@code.launchpad.net

Commit message

Only set voicemail is the phone number is not empty.

Description of the change

Only set voicemail is the phone number is not empty.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'libtelephonyservice/callentry.cpp'
2--- libtelephonyservice/callentry.cpp 2014-08-26 19:09:09 +0000
3+++ libtelephonyservice/callentry.cpp 2014-12-12 16:25:44 +0000
4@@ -72,7 +72,7 @@
5 SIGNAL(CallPropertiesChanged(QString, QVariantMap)),
6 SLOT(onCallPropertiesChanged(QString,QVariantMap)));
7
8- if (mAccount) {
9+ if (mAccount && !mAccount->voicemailNumber().isEmpty()) {
10 setVoicemail(phoneNumber() == mAccount->voicemailNumber());
11 }
12

Subscribers

People subscribed via source and target branches