~aacid/unity8/bring_hud_quit_back

Viewing all changes in revision 646.

  • Committer: Tarmac
  • Author(s): Albert Astals
  • Date: 2014-01-20 12:05:58 UTC
  • mfrom: (638.1.3 journal_misc_fixes)
  • Revision ID: tarmac-20140120120558-o02xswnj82okngiz
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
.

Approved by PS Jenkins bot, Michał Karnicki.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: