Merge lp:~aacid/unity8/journal_misc_fixes into lp:unity8
Proposed by
Albert Astals Cid
Status: | Merged |
---|---|
Approved by: | Albert Astals Cid |
Approved revision: | 641 |
Merged at revision: | 646 |
Proposed branch: | lp:~aacid/unity8/journal_misc_fixes |
Merge into: | lp:unity8 |
Diff against target: |
164 lines (+71/-11) 5 files modified
plugins/DashViews/abstractjournal.cpp (+1/-1) plugins/DashViews/horizontaljournal.cpp (+1/-0) plugins/DashViews/verticaljournal.cpp (+2/-1) tests/plugins/DashViews/horizontaljournaltest.cpp (+35/-9) tests/plugins/DashViews/verticaljournaltest.cpp (+32/-0) |
To merge this branch: | bzr merge lp:~aacid/unity8/journal_misc_fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Michał Karnicki (community) | Approve | ||
Review via email: mp+201785@code.launchpad.net |
Commit message
Misc journal fixes
Don't init *modelIndex to INT_MAX
Makes no sense since we're not doing any qMin and the calling function also accepts any index >= 0 as valid
so in some cases it may end up wanting to create an index that doesn't exist
Don't refill if height() < 0, that gives bad ranges for from/to and the code gets confused
To post a comment you must log in.
FAILED: Continuous integration, rev:640 jenkins. qa.ubuntu. com/job/ unity8- ci/2070/ jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty/ 2365 jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty- touch/2238 jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- trusty/ 922 jenkins. qa.ubuntu. com/job/ unity8- trusty- amd64-ci/ 592 jenkins. qa.ubuntu. com/job/ unity8- trusty- armhf-ci/ 594 jenkins. qa.ubuntu. com/job/ unity8- trusty- armhf-ci/ 594/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ unity8- trusty- i386-ci/ 592 jenkins. qa.ubuntu. com/job/ autopilot- testrunner- otto-trusty/ 2075 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/2367 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/2367/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/2238 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/2238/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- runner- mako/4695 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 3121
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/2070/ rebuild
http://