Merge lp:~dandrader/qtmir/fixSurfaceFocus-lp1491034 into lp:qtmir
| Status: | Merged | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Approved by: | Gerry Boland on 2015-09-15 | ||||||||
| Approved revision: | 372 | ||||||||
| Merged at revision: | 376 | ||||||||
| Proposed branch: | lp:~dandrader/qtmir/fixSurfaceFocus-lp1491034 | ||||||||
| Merge into: | lp:qtmir | ||||||||
| Diff against target: |
236 lines (+53/-32) 6 files modified
src/modules/Unity/Application/mirsurface.cpp (+21/-6) src/modules/Unity/Application/mirsurface.h (+2/-2) src/modules/Unity/Application/mirsurfaceinterface.h (+2/-2) src/modules/Unity/Application/mirsurfaceitem.cpp (+24/-18) src/modules/Unity/Application/mirsurfaceitem.h (+2/-2) tests/modules/common/fake_mirsurface.h (+2/-2) |
||||||||
| To merge this branch: | bzr merge lp:~dandrader/qtmir/fixSurfaceFocus-lp1491034 | ||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gerry Boland | 2015-09-14 | Approve on 2015-09-15 | |
| PS Jenkins bot | continuous-integration | Approve on 2015-09-14 | |
|
Review via email:
|
|||
Commit Message
Update surface focus when a surface enters or leaves a MirSurfaceItem
+ Refactor MirSurfaceItem so that it talks to a MirSurfaceInterface
instead of the concrete MirSurface class
+ Make MirSurface:
Description of the Change
* Are there any related MPs required for this MP to build/function as expected? Please list.
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Not applicable
| Gerry Boland (gerboland) wrote : | # |
You know I dislike refactoring in a bug fix commit. I'll accept this time, but please resist the temptation in future.
Code change makes sense, and I can't reproduce the bug with it.
+ qCDebug(
Do you really need to interpret a bool into true/false for qDebug?
- 373. By Daniel d'Andrada on 2015-09-15
-
qDebug is smarter than printf
| Daniel d'Andrada (dandrader) wrote : | # |
On 15/09/15 08:16, Gerry Boland wrote:
> + qCDebug(
> Do you really need to interpret a bool into true/false for qDebug?
>
Right, qDebug() is smarter than printf(). Fixed.

PASSED: Continuous integration, rev:372 jenkins. qa.ubuntu. com/job/ qtmir-ci/ 414/ jenkins. qa.ubuntu. com/job/ qtmir-wily- amd64-ci/ 147 jenkins. qa.ubuntu. com/job/ qtmir-wily- armhf-ci/ 147 jenkins. qa.ubuntu. com/job/ qtmir-wily- armhf-ci/ 147/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/qtmir- ci/414/ rebuild
http://