Skip to content

libnotificationmanager: pass string view to QXmlStreamWriter

Fushan Wen requested to merge work/fuf/takeview into master

Reason for the change

Since Qt 6.5 QXmlStreamWriter takes QAnyStringView, so it's no longer needed to convert QStringView to QString.

Test plan

  • Extend notificationstest: add a notification body test
  • Pass notifications_test which covers the sanitization part.

Screenshots or screen recordings

Bugs fixed

Edited by Fushan Wen

Merge request reports