mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
3499e50d0c
commit
774f45b98b
1 changed files with 4 additions and 4 deletions
|
@ -263,10 +263,10 @@ void Dive::put_notes()
|
|||
QTextDocument notes;
|
||||
QString notesFormatted = m_notes;
|
||||
#define _NOTES_BR "\n"
|
||||
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>");
|
||||
|
|
Loading…
Add table
Reference in a new issue