Fix compile error on Mac

We need a space between the two string literals.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-12-03 10:41:49 -08:00
parent 3499e50d0c
commit 774f45b98b

View file

@ -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>");