Skip to content
Commit 1a3cfad4 authored by Dmitriy Konev's avatar Dmitriy Konev Committed by Christoph Cullmann
Browse files

KSignalHandler: possibility to register signal handler as early as possible

QSocketNotifier need instance of QCoreApplication, this mean that
KSignalHandler mechanism will work only after QCoreApplication creation
(see kscreenlocker repo, commit: 448df7517021b9c2e68de161008ebc180363abed).
There is time gap between main() start and QCoreApplication creation.
In this gap signals will will be unhandled.

Moving QSocketNotifier creation from constructor to oneShort timer mean
that object will be created after main event loop start, and this will
happen after QCoreApplication cteation.
parent 356b9776
Pipeline #428767 passed with stage
in 3 minutes and 37 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment