diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-11-17 00:29:22 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-16 15:07:07 -0800 |
commit | e6c86700e49ffac409d2cd117619e34631bc922c (patch) | |
tree | 982147eab2f07faf743b41af0a1264c1c08d13fb /qt-models | |
parent | 7e749e8ea4a4c73e01bca1b23dd96aaccbc4fa07 (diff) | |
download | subsurface-e6c86700e49ffac409d2cd117619e34631bc922c.tar.gz |
qthelper.cpp: improve getFormattedCylinder()
When the user requests "dive.cylinders" from Grantlee HTML
we need to always put at least the default cylinder and mark
the description as "unknown" (same as other locations) if it's
not set (i.e. when the description pointer is NULL).
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
0 files changed, 0 insertions, 0 deletions