Fix build on the CI due to -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000
KRun has deprecated some methods, it should be ported but probably not in the stable 20.04 branch.