diff --git a/applet.cpp b/applet.cpp index f7358d1d2..14a779cea 100644 --- a/applet.cpp +++ b/applet.cpp @@ -2973,7 +2973,9 @@ QString AppletPrivate::visibleFailureText(const QString &reason) if (reason.isEmpty()) { text = i18n("This object could not be created."); } else { - text = i18n("This object could not be created for the following reason:

%1

", reason); + QString r = reason; + r.replace('\n', "
"); + text = i18n("This object could not be created for the following reason:

%1

", r); } return text;