summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/DiveObjectHelper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-15 04:44:12 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-15 13:22:08 -0700
commit6985c123d412d3223618247e2fcc733cd99bb842 (patch)
tree0c51bf7303f928b2e7a68b5dc2a356ef5c052606 /core/subsurface-qt/DiveObjectHelper.cpp
parent9e787a2476e49bb4793cdaeae4c097019d29e9dd (diff)
downloadsubsurface-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.cpp2
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)