Fix KSignalHandler initialization order
KSignalHandler needs an instance of QCoreApplication because it uses QSocketNotifier.
(cherry picked from commit 448df751)
KSignalHandler needs an instance of QCoreApplication because it uses QSocketNotifier.
(cherry picked from commit 448df751)