aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-03 10:41:49 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-03 10:42:24 -0800
commit774f45b98b3a623eed63501c37c66f2131c7e2d6 (patch)
treeafe370ea164100f6fa915f30ce9d7d43c5326776 /subsurface-core
parent3499e50d0cb493ddd9fb598c84391741ab4a7332 (diff)
downloadsubsurface-774f45b98b3a623eed63501c37c66f2131c7e2d6.tar.gz
Fix compile error on Mac
We need a space between the two string literals. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-rw-r--r--subsurface-core/qthelper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/subsurface-core/qthelper.cpp b/subsurface-core/qthelper.cpp
index 23eb34e0f..b667ab206 100644
--- a/subsurface-core/qthelper.cpp
+++ b/subsurface-core/qthelper.cpp
@@ -263,10 +263,10 @@ void Dive::put_notes()
QTextDocument notes;
QString notesFormatted = m_notes;
#define _NOTES_BR "&#92n"
- notesFormatted = notesFormatted.replace("<thead>", "<thead>"_NOTES_BR);
- notesFormatted = notesFormatted.replace("<br>", "<br>"_NOTES_BR);
- notesFormatted = notesFormatted.replace("<tr>", "<tr>"_NOTES_BR);
- notesFormatted = notesFormatted.replace("</tr>", "</tr>"_NOTES_BR);
+ notesFormatted = notesFormatted.replace("<thead>", "<thead>" _NOTES_BR);
+ notesFormatted = notesFormatted.replace("<br>", "<br>" _NOTES_BR);
+ notesFormatted = notesFormatted.replace("<tr>", "<tr>" _NOTES_BR);
+ notesFormatted = notesFormatted.replace("</tr>", "</tr>" _NOTES_BR);
notes.setHtml(notesFormatted);
m_notes = notes.toPlainText();
m_notes.replace(_NOTES_BR, "<br>");