summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeomap.cpp
diff options
context:
space:
mode:
authorDavid Laing <david.laing@nokia.com>2012-02-03 16:36:09 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-07 03:14:18 +0100
commita40be66a9fba7e1c3738b848c4dfd8adeeca54f2 (patch)
treeb4120689605644907d4f246c8e08fc82dd7d1851 /src/location/maps/qgeomap.cpp
parentdd863b866c79ea47454b6609e7f3c795d6ada816 (diff)
downloadqtlocation-a40be66a9fba7e1c3738b848c4dfd8adeeca54f2.tar.gz
Corrects for some uninitialized variable usage.
Thanks to valgrind for the warnings. Change-Id: Id1ca2b3560f2f1e470844454be0d0e9f7729db2b Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/location/maps/qgeomap.cpp')
-rw-r--r--src/location/maps/qgeomap.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/location/maps/qgeomap.cpp b/src/location/maps/qgeomap.cpp
index 4abdcee6..5f57c299 100644
--- a/src/location/maps/qgeomap.cpp
+++ b/src/location/maps/qgeomap.cpp
@@ -199,7 +199,10 @@ const QGeoMapType QGeoMap::activeMapType() const
}
QGeoMapPrivate::QGeoMapPrivate(QGeoMap *parent, QGeoTileCache *cache)
- : map_(parent),
+ : width_(0),
+ height_(0),
+ aspectRatio_(0.0),
+ map_(parent),
cache_(cache),
manager_(0),
controller_(0),