Merge lp://staging/~gerboland/unity-2d/hud-misc-fixes into lp://staging/unity-2d

Proposed by Gerry Boland
Status: Merged
Approved by: Paweł Stołowski
Approved revision: 1012
Merged at revision: 1019
Proposed branch: lp://staging/~gerboland/unity-2d/hud-misc-fixes
Merge into: lp://staging/unity-2d
Diff against target: 90 lines (+25/-11)
3 files modified
libunity-2d-private/src/hud.cpp (+19/-7)
libunity-2d-private/src/hud.h (+2/-1)
shell/hud/Hud.qml (+4/-3)
To merge this branch: bzr merge lp://staging/~gerboland/unity-2d/hud-misc-fixes
Reviewer Review Type Date Requested Status
Paweł Stołowski (community) Approve
Review via email: mp+99280@code.staging.launchpad.net

Commit message

[hud] Improve monitoring of HUD service connection: reset data properly and disconnect only when connected

Description of the change

[hud] Improve monitoring of HUD service connection: reset data properly and disconnect only when connected

To post a comment you must log in.
Revision history for this message
Paweł Stołowski (stolowski) wrote :

Can you initialize m_hudQueryOpen in ctor just to be on the safe side, in case anyone adds any logic based on it in the future?
Also, I'd use at least UQ_WARNING to signal connection error, rather than UQ_DEBUG.

review: Needs Fixing
1011. By Gerry Boland

Initialise m_hudQueryOpen to be safe

1012. By Gerry Boland

HUD-service missing error should be warning

Revision history for this message
Paweł Stołowski (stolowski) wrote :

Looks good!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches