Merge lp:~ralsina/ubuntu-push-qml/fix-1397396-rtm into lp:ubuntu-push-qml/rtm

Proposed by Roberto Alsina
Status: Merged
Approved by: Michał Karnicki
Approved revision: 15
Merged at revision: 14
Proposed branch: lp:~ralsina/ubuntu-push-qml/fix-1397396-rtm
Merge into: lp:ubuntu-push-qml/rtm
Diff against target: 12 lines (+1/-1)
1 file modified
src/Ubuntu/PushNotifications/pushclient.cpp (+1/-1)
To merge this branch: bzr merge lp:~ralsina/ubuntu-push-qml/fix-1397396-rtm
Reviewer Review Type Date Requested Status
Michał Karnicki (community) Approve
Review via email: mp+246995@code.launchpad.net

Commit message

Fix typo that prevented setting the badge counter from QML

Description of the change

Fix typo that prevented setting the badge counter from QML

To post a comment you must log in.
Revision history for this message
Michał Karnicki (karni) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Ubuntu/PushNotifications/pushclient.cpp'
2--- src/Ubuntu/PushNotifications/pushclient.cpp 2014-12-12 14:13:29 +0000
3+++ src/Ubuntu/PushNotifications/pushclient.cpp 2015-01-20 11:55:01 +0000
4@@ -165,7 +165,7 @@
5 bool visible = count != 0;
6 counter = count;
7 path += "/" + pkgname;
8- QDBusMessage message = QDBusMessage::createMethodCall(POSTAL_SERVICE, path, POSTAL_IFACE, "setCounter");
9+ QDBusMessage message = QDBusMessage::createMethodCall(POSTAL_SERVICE, path, POSTAL_IFACE, "SetCounter");
10 message << this->appId << count << visible;
11 QDBusPendingCall pcall = bus.asyncCall(message);
12 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pcall, this);

Subscribers

People subscribed via source and target branches