NOTE: This fix requires commit c230e107 in kdelibs. BUG: 182591 FIXED-IN: 4.8.0 REVIEW: 103524 (cherry picked from commit b7a55b94)