Merge lp:~marcustomlinson/unity-scopes-shell/fix_oa_hang into lp:unity-scopes-shell

Proposed by Marcus Tomlinson
Status: Merged
Approved by: Pete Woods
Approved revision: 148
Merged at revision: 148
Proposed branch: lp:~marcustomlinson/unity-scopes-shell/fix_oa_hang
Merge into: lp:unity-scopes-shell
Diff against target: 12 lines (+1/-1)
1 file modified
src/Unity/scope.cpp (+1/-1)
To merge this branch: bzr merge lp:~marcustomlinson/unity-scopes-shell/fix_oa_hang
Reviewer Review Type Date Requested Status
Pete Woods (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+235901@code.launchpad.net

Commit message

OnlineAccountsClient::Setup::finished signature changed causing a hang. Use safer C++11-style connect()

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Pete Woods (pete-woods) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Unity/scope.cpp'
2--- src/Unity/scope.cpp 2014-09-17 15:25:58 +0000
3+++ src/Unity/scope.cpp 2014-09-25 05:58:16 +0000
4@@ -1239,7 +1239,7 @@
5 setup.exec();
6
7 QEventLoop loop;
8- connect(&setup, SIGNAL(finished()), &loop, SLOT(quit()));
9+ connect(&setup, &OnlineAccountsClient::Setup::finished, &loop, &QEventLoop::quit);
10 loop.exec(QEventLoop::ProcessEventsFlag::ExcludeUserInputEvents);
11
12 // Check again whether the service was successfully enabled

Subscribers

People subscribed via source and target branches

to all changes: