It seems that this code is coming from Ubuntu's kde4-kdesudo-support.dpatch, so removing upstream task.
It seems that this code is coming from Ubuntu's kde4-kdesudo- support. dpatch, so removing upstream task.