subsurface/mobile-widgets/qml
Lubomir I. Ivanov 9367610220 mapwidget: add the 'isReady' flag to the Map component
The 'isReady' boolean flag is now set to 'true' only
once the Component.onCompleted slot is reached.

The flag is then used as a safe-guard in the
onZoomLevelChanged slot. Calculate the small circle radius
(mapHelper.calculateSmallCircleRadius()) only if 'isReady'
is set to true.

Prevents a crash if the Map widget is not ready, yet a zoom
level is set via the 'zoomLevel' property. The crash happens
because mapHelper.calculateSmallCircleRadius() has a callback
to the Map component to estimate some points and distances of the
small circle.

Reported-by: Stefan Fuchs <sfuchs@gmx.de>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-10-29 08:26:11 +01:00
..
icons qml-icons: add a third, grayed-out map marker 2017-10-15 17:28:39 -08:00
About.qml Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00
CloudCredentials.qml mobile: silence deprecated messages in logging about Kirigami.Label 2017-10-17 15:32:27 +02:00
dive.jpg Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
DiveDetails.qml Whitespace 2017-10-05 13:40:31 -07:00
DiveDetailsEdit.qml mobile: silence deprecated messages in logging about Kirigami.Label 2017-10-17 15:32:27 +02:00
DiveDetailsView.qml QML-UI: some more layout repair (dive details) 2017-10-19 14:55:30 -04:00
DiveList.qml QML UI: repair long trip headers 2017-10-27 19:27:47 +02:00
DownloadedDiveDelegate.qml QML-UI: Download screen fixup 2017-10-19 14:55:30 -04:00
DownloadFromDiveComputer.qml QML UI: prevent full overflow of bottom buttons 2017-10-27 19:28:42 +02:00
GpsList.qml mobile: silence deprecated messages in logging about Kirigami.Label 2017-10-17 15:32:27 +02:00
HintsTextEdit.qml QML UI: dive edit autocomplete 2017-08-02 18:49:47 -07:00
Log.qml QML UI: drop AppLog title and add margin instead 2017-07-06 09:34:37 -07:00
main.qml QML UI: open v2 user manual 2017-10-07 12:14:08 +03:00
MapWidget.qml mapwidget: add the 'isReady' flag to the Map component 2017-10-29 08:26:11 +01:00
MapWidgetContextMenu.qml mapwidgetcontextmenu: use a QtQuick 2.0 import 2017-09-16 08:35:29 -07:00
MapWidgetError.qml map-widget: don't crash if the map QML failed to load 2017-10-07 08:09:05 -07:00
mobile-resources.qrc QML UI: add missing icon 2017-10-09 22:01:12 -07:00
qtquickcontrols2.conf QML UI: Fully port dive edit to Kirigami2 2017-04-01 09:35:51 +02:00
Settings.qml mobile: silence deprecated messages in logging about Kirigami.Label 2017-10-17 15:32:27 +02:00
SsrfButton.qml QML UI: add missing id line in our button 2017-07-26 14:13:22 +09:00
SsrfCheckBox.qml QML UI: add our own styled checkbox 2017-07-26 01:39:26 +09:00
SsrfSwitch.qml QML UI: add our own styled switch 2017-07-26 01:39:26 +09:00
StartPage.qml mobile: silence deprecated messages in logging about Kirigami.Label 2017-10-17 15:32:27 +02:00
ThemeTest.qml mobile: silence deprecated messages in logging about Kirigami.Label 2017-10-17 15:32:27 +02:00