sddm/sddm — pull request #210 by MartinBriza (2014-06-27 12:16:03+00:00)
Title: Initialize sigactions in signal handlers

I know the previous code was taken from the Qt tutorial but it seems wrong.
Time to time, X kills sddm on my machine (and according to other users, it's not happening just to me) with SIGUSR1. That leads me to believe SA_RESETHAND or some other nasty flag is occasionally set by an uninitialized value.