summaryrefslogtreecommitdiffstats
path: root/map-widget/qml
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-25 23:21:12 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-27 22:59:22 +0100
commit8bc61f42cb24d0360d7ebb4a588ec8d6e7d6c95e (patch)
treec32e47347fade1e878231400a14d81c829475c10 /map-widget/qml
parentb564debe211d6e046e4265414efe1ddf8ffda861 (diff)
downloadsubsurface-8bc61f42cb24d0360d7ebb4a588ec8d6e7d6c95e.tar.gz
map-widget: use 'getter' function coordinate() for MapLocation
Avoid using qvariant_cast() with getRole() in favor of MapLocation::coordinate() in MapWidgetHelper::reloadMapLocations(). This makes the code more readble. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'map-widget/qml')
0 files changed, 0 insertions, 0 deletions