type = "PrivMsgFocused"; break;
}
+#if QT_VERSION < 0x050000
QString message = QString("<b><%1></b> %2").arg(n.sender, Qt::escape(n.message));
+#else
+ QString message = QString("<b><%1></b> %2").arg(n.sender, n.message.toHtmlEscaped());
+#endif
KNotification *notification = KNotification::event(type, message, DesktopIcon("dialog-information"), QtUi::mainWindow(),
KNotification::RaiseWidgetOnActivation
|KNotification::CloseWhenWidgetActivated