diff options
author | Benjamin Robin <dev@benjarobin.fr> | 2019-02-24 10:28:14 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2019-02-25 09:38:43 +0000 |
commit | c231395eec3494619f4977b4c5cd845b9d7341ae (patch) | |
tree | 82d81950923b5e42dd332fd3114548354da17baa /dist | |
parent | d641c584b1ed5cfae860dc0e9b08526ae6eb2c93 (diff) |
ScrollViewStyle: Avoid division by zero in extent computationv5.12.2
If the flickableItem content is empty (contentWidth / contentHeight is
equal to 0), prevent the division by zero in the computation of the
extent variable.
Task-number: QTBUG-73691
Change-Id: I86becca9a1fa2508d1acafe09f46dfc952e4e96d
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions