Page MenuHomePhorge

Make ScrollablePage actions work with KF6
ClosedPublic

Authored by tusooa on Jun 15 2024, 1:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 8, 11:45 PM
Unknown Object (File)
Thu, Sep 5, 5:40 AM
Unknown Object (File)
Thu, Aug 29, 11:45 PM
Unknown Object (File)
Thu, Aug 29, 9:38 AM
Unknown Object (File)
Sun, Aug 25, 3:06 AM
Unknown Object (File)
Sat, Aug 24, 1:36 PM
Unknown Object (File)
Sat, Aug 24, 1:25 AM
Unknown Object (File)
Sat, Aug 24, 1:25 AM
Subscribers
None

Details

Summary

KF6 removed actions.* properties. This commit creates a ScrollablePage adapter which aliases contextualActions to actions under KF6. In KF5, contextualActions is an alias to actions.contextualActions . Then we can use contextualActions in both KF6 and KF5 to specify page actions.

Type: fix

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

Test Plan

Verify unit tests pass under KF5. Verify that we can proceed to RoomPage under KF6.

Diff Detail

Repository
rK kazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 79
Build 147: GitLab CI for kazv
Build 146: arc lint + arc unit