summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaik Qualmann <[email protected]>2015-03-26 22:57:30 +0100
committerMaik Qualmann <[email protected]>2015-03-26 22:57:30 +0100
commit466675cf3d22fade0482f6e55d26664e01b76db3 (patch)
tree105ecc313e7603806e8af6a83e1b4a5f7118c4f3
parentc864ef7131ecb69a0c0859b0c6cbb371fbc65841 (diff)
fixes crash in libkgeomap when deselecting "Show tracks on map"v15.08.3v15.08.2v15.08.1v15.08.0v15.07.90v15.07.80Applications/15.08
BUGS: 340330 FIXED-IN: 4.9.0
-rw-r--r--libkgeomap/backend_map_googlemaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkgeomap/backend_map_googlemaps.cpp b/libkgeomap/backend_map_googlemaps.cpp
index e7f7e1a..31315e6 100644
--- a/libkgeomap/backend_map_googlemaps.cpp
+++ b/libkgeomap/backend_map_googlemaps.cpp
@@ -1411,7 +1411,7 @@ void BackendGoogleMaps::slotTrackVisibilityChanged(const bool newState)
}
slotTracksChanged(trackChanges);
}
- else
+ else if (d->htmlWidget)
{
const QVariant successClear = d->htmlWidget->runScript(QString::fromLatin1("kgeomapClearTracks();"));
}