Page MenuHomePhorge

Fix notification tests for KF6
ClosedPublic

Authored by tusooa on Jun 15 2024, 10:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 6, 1:39 AM
Unknown Object (File)
Thu, Sep 5, 4:41 AM
Unknown Object (File)
Fri, Aug 30, 3:15 PM
Unknown Object (File)
Thu, Aug 29, 9:39 AM
Unknown Object (File)
Sat, Aug 24, 11:38 PM
Unknown Object (File)
Sat, Aug 24, 11:38 PM
Unknown Object (File)
Sat, Aug 24, 5:48 PM
Unknown Object (File)
Sat, Aug 24, 1:36 PM
Subscribers
None

Details

Summary

KNotification 6 has a different QML API, mainly because of the addition of the NotificationAction object. This commits try to make our MessageNotification.qml work for both v5 and v6.

Type: fix

CCBUG: https://iron.lily-is.land/T85

Test Plan
  • Verify unit tests pass under KF5/Qt5.
  • Verify that notifications work under KF5/Qt5.
  • Verify tst_Notifications.qml passes under KF6/Qt6.

Diff Detail

Repository
rK kazv
Lint
Lint Not Applicable
Unit
Tests Not Applicable