diff options
| author | 2018-10-28 22:04:56 +0100 | |
|---|---|---|
| committer | 2018-10-29 00:09:31 +0000 | |
| commit | c980216dc0e15a21b245a902870f9b8c5a18275c (patch) | |
| tree | f30fa3d5267e4b6d8306fb0f2d1bb85b6b2b402d /dives | |
| parent | 920eb7576ff3c5fab19c12b7b291042817422ac5 (diff) | |
| download | subsurface-c980216dc0e15a21b245a902870f9b8c5a18275c.tar.gz | |
Dive list: take pointer-to-dive_site instead of QVariant
Since "struct dive_site *" is now a Q_METATYPE, the functions
MapWidgetHelper::centerOnDiveSite() and ::getCoordinates()
can directly get such a pointer instead of a QVariant. This
makes the code nicer to read.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'dives')
0 files changed, 0 insertions, 0 deletions