diff --git a/src/Gui/NotificationArea.cpp b/src/Gui/NotificationArea.cpp index 3577386929..53e27c644f 100644 --- a/src/Gui/NotificationArea.cpp +++ b/src/Gui/NotificationArea.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -938,6 +939,8 @@ void NotificationArea::showInNotificationArea() iconstr = QStringLiteral(":/icons/info.svg"); } + QString tmpmessage = convertFromPlainText(item->msg, Qt::WhiteSpaceMode::WhiteSpaceNormal); + msgw += QString::fromLatin1( " \ @@ -948,7 +951,7 @@ void NotificationArea::showInNotificationArea() ") .arg(iconstr) .arg(item->notifierName) - .arg(item->msg); + .arg(tmpmessage); // start a timer for each of these notifications that was not previously shown if (!item->shown) {