Merge branch 'Plasma/5.3'

wilder-5.14
David Edmundson 11 years ago
commit d34ff80503
  1. 3
      dataengines/notifications/notificationsengine.cpp
  2. 2
      lookandfeel/contents/windowswitcher/WindowSwitcher.qml

@ -232,6 +232,9 @@ uint NotificationsEngine::Notify(const QString &app_name, uint replaces_id,
// text where it finds a stray ampersand.
// Only &{apos, quot, gt, lt, amp}; as well as &#123 character references will be allowed
bodyFinal.replace(QRegularExpression("&(?!(?:apos|quot|[gl]t|amp);|#)"), QLatin1String("&"));
// The Text.StyledText format handles only html3.2 stuff and ' is html4 stuff
// so we need to replace it here otherwise it will not render at all.
bodyFinal.replace(QLatin1String("'"), QChar('\''));
Plasma::DataEngine::Data notificationData;
notificationData.insert("id", QString::number(id));

@ -41,7 +41,7 @@ KWin.Switcher {
PlasmaCore.Dialog {
id: dialog
location: PlasmaCore.Types.Floating
location: PlasmaCore.Types.LeftEdge
visible: tabBox.visible
flags: Qt.X11BypassWindowManagerHint
x: screenGeometry.x

Loading…
Cancel
Save