fix for https://bugs.kde.org/show_bug.cgi?id=332426