mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +01:00
Fixed accessing of un-initialized variable
This commit is contained in:
parent
9300d671a1
commit
b40e0d3bbf
@ -76,6 +76,7 @@ MapView::MapView(Map *map, POI *poi, QWidget *parent)
|
||||
_digitalZoom = 0;
|
||||
|
||||
_map->setBackgroundColor(_backgroundColor);
|
||||
_res = _map->resolution(_map->bounds());
|
||||
_scene->setSceneRect(_map->bounds());
|
||||
|
||||
centerOn(_scene->sceneRect().center());
|
||||
|
Loading…
Reference in New Issue
Block a user