Remove code that was removed in kf5 branch
Fixes the latest merge. The code was removed with commit f1c7d1ea0cc53bbce4d4e35e4408b3add52a1dd2