diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-11-24 08:40:30 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-11-24 11:01:20 -0800 |
commit | 4bfcf12c1745e5f601ee948e82a2726df37f4453 (patch) | |
tree | da564101709829bf630ea6c4f54996e1c9fa69ce /CMakeLists.txt | |
parent | d67ecf892570a23ab347ae0f2ba5fbce96288a7a (diff) | |
download | subsurface-4bfcf12c1745e5f601ee948e82a2726df37f4453.tar.gz |
Cleanup: remove EMPTY_DIVE_STRING
EMPTY_DIVE_STRING used to be a string-literal representing missing
information ("--"). In 6985c123d412d3223618247e2fcc733cd99bb842 it
was replaced by the actual empty string. Using a literal to represent
the empty string seems a bit pointless, therefore remove it completely.
Notably:
QString(EMPTY_DIVE_STRING) -> QString()
if (temp.isEmpty()) temp = EMPTY_DIVE_STRING; -> noop
if (s == EMPTY_DIVE_STRING) -> if (s.isEmpty())
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions