diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-15 04:44:12 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-15 13:22:08 -0700 |
commit | 6985c123d412d3223618247e2fcc733cd99bb842 (patch) | |
tree | 0c51bf7303f928b2e7a68b5dc2a356ef5c052606 /core/subsurface-qt/DiveObjectHelper.cpp | |
parent | 9e787a2476e49bb4793cdaeae4c097019d29e9dd (diff) | |
download | subsurface-6985c123d412d3223618247e2fcc733cd99bb842.tar.gz |
QML UI: stop using "--" for empty strings
I can't remember why we started doing this, but at this point I find it
just weird.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index 9a3f2386d..dc22e59a2 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -6,7 +6,7 @@ #include "../qthelper.h" #include "../helpers.h" -static QString EMPTY_DIVE_STRING = QStringLiteral("--"); +static QString EMPTY_DIVE_STRING = QStringLiteral(""); enum returnPressureSelector {START_PRESSURE, END_PRESSURE}; static QString getFormattedWeight(struct dive *dive, unsigned int idx) |