Make it compile against qt5.15 without deprecated method

2 jobs for master in 20 minutes and 40 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #29214
flatpak
flatpak

00:05:47

passed #29213
linux kf5-qt5 qt5.12

00:17:36

2.0%