Fix startup crash on Wayland, thanks to login.kde@unrelenting.technology

BUG: 431505
1 job for master in 8 minutes and 49 seconds (queued for 87 minutes and 27 seconds)
Status Name Job ID Coverage
  Build
passed linux kf5-qt5 qt5.15 #112659

00:08:49

20.0%