Fix crash when calling QGeoPath::length on empty QGeoPath instance


Fixes: QTBUG-71355
Change-Id: I47b058891a47cd6d020c4e192d40233c57814313
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
commit6b109d09982e09940dc8e777430a04410d7b6550
parentf9a1c4a18a3421617e28d2c26d30b011d22a0229
authorAlex Blasche <alexander.blasche@qt.io>
committerAlex Blasche <alexander.blasche@qt.io>
commit timeWed, 24 Oct 2018 08:25:31 +0000