From 774f45b98b3a623eed63501c37c66f2131c7e2d6 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 3 Dec 2015 10:41:49 -0800 Subject: Fix compile error on Mac We need a space between the two string literals. Signed-off-by: Dirk Hohndel --- subsurface-core/qthelper.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'subsurface-core') 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 "\n" - notesFormatted = notesFormatted.replace("", ""_NOTES_BR); - notesFormatted = notesFormatted.replace("
", "
"_NOTES_BR); - notesFormatted = notesFormatted.replace("", ""_NOTES_BR); - notesFormatted = notesFormatted.replace("", ""_NOTES_BR); + notesFormatted = notesFormatted.replace("", "" _NOTES_BR); + notesFormatted = notesFormatted.replace("
", "
" _NOTES_BR); + notesFormatted = notesFormatted.replace("", "" _NOTES_BR); + notesFormatted = notesFormatted.replace("", "" _NOTES_BR); notes.setHtml(notesFormatted); m_notes = notes.toPlainText(); m_notes.replace(_NOTES_BR, "
"); -- cgit v1.2.3-70-g09d2