summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice_p.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-06-08 18:28:44 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-06-14 08:32:59 +0000
commit32548b85a9f75997e23cbd100210fa3c8a199b4d (patch)
tree26bc25525c780b2353c4842cc530b4d9fc28399e /src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice_p.h
parent435ea1acaaea0bf5d474b23dcdc9eea2a62a782c (diff)
downloadqtlocation-32548b85a9f75997e23cbd100210fa3c8a199b4d.tar.gz
Fix for QDeclarativeGeoMapCopyrightNotice crashing the application
Some pointers were used without prior check. This adds checks where necessary. Change-Id: I82e01b72fd3a46a6add7cf286e81686b686b272b Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice_p.h')
-rw-r--r--src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice_p.h b/src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice_p.h
index b09d7c1d..0d7f7a20 100644
--- a/src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice_p.h
+++ b/src/location/declarativemaps/qdeclarativegeomapcopyrightsnotice_p.h
@@ -96,6 +96,7 @@ protected:
void mousePressEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
void mouseReleaseEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
void rasterizeHtmlAndUpdate();
+ void connectMap();
private:
void createCopyright();