I tried to catch it in my Qt program to make sure objects are correctly destructed
But I tried SIGKILL SIGHUP SIGQUIT SIGTERM and SIGINT, but seems none of them is correct...
Thanks
I tried to catch it in my Qt program to make sure objects are correctly destructed
But I tried SIGKILL SIGHUP SIGQUIT SIGTERM and SIGINT, but seems none of them is correct...
Thanks
1. Users don't have the manual, and if they did, they wouldn't read it.
2. In fact, users can't read anything, and if they could, they wouldn't want to.
Thanks, this helps a lot.
I reimplemented the QApplication::commitData function to save the data
Now the program can correctly save the data when logout
But the static object, which is used to make sure that there's only one instance of the program running, seems still not destroyed correctly.
Any suggestion?
1. Users don't have the manual, and if they did, they wouldn't read it.
2. In fact, users can't read anything, and if they could, they wouldn't want to.
There is a special signal sent by KApplication (see here). You might try QApplication::aboutToQuit() too.
Bookmarks