hopefully fixes some crashers, such as BUG:217942 svn path=/trunk/KDE/kdelibs/; revision=1061477
svn path=/trunk/KDE/kdelibs/; revision=1019570