Lets the notification server load an appropriate crisp pixmap depending on the size it wants to display it at
QString message = QString("<b><%1></b> %2").arg(n.sender, n.message.toHtmlEscaped());
KNotification* notification = KNotification::event(type,
message,
QString message = QString("<b><%1></b> %2").arg(n.sender, n.message.toHtmlEscaped());
KNotification* notification = KNotification::event(type,
message,
- icon::get("dialog-information").pixmap(48),
+ QStringLiteral("dialog-information"),
QtUi::mainWindow(),
KNotification::RaiseWidgetOnActivation | KNotification::CloseWhenWidgetActivated
| KNotification::CloseOnTimeout);
QtUi::mainWindow(),
KNotification::RaiseWidgetOnActivation | KNotification::CloseWhenWidgetActivated
| KNotification::CloseOnTimeout);