Igor Kushnir
5257dc88d6
Library: destroy the temporary thread when deleting finishes
...
finished() signal of both FoldersRemover and ComicsRemover was not
connected to their QThread's quit() slot. So the thread kept running
after the deletion completed. The QThread's parent is LibraryWindow.
Thus LibraryWindow's ~QObject() invokes the QThread's destructor.
As a result, when the user exited YACReader Library after deleting at
least one folder or comic, it printed the following FATAL message and
crashed at exit: "QThread: Destroyed while thread is still running".
Extract signal-slot connections between a remover and a QThread into
moveAndConnectRemoverToThread() to reduce code duplication.
Remove always true (thread != NULL) checks.
2021-02-07 19:46:15 +02:00
..
2020-08-25 17:34:46 +02:00
2021-02-05 09:34:13 +01:00
2021-02-01 11:27:18 +02:00
2021-01-16 14:24:14 +01:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2020-08-31 15:45:12 +02:00
2020-08-31 15:45:12 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2018-07-30 15:04:04 +02:00
2021-01-17 14:05:14 +01:00
2021-01-16 18:31:48 +01:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2020-07-24 21:17:49 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2018-08-07 11:09:02 +02:00
2019-08-11 11:47:14 +02:00
2019-06-01 16:04:48 +02:00
2019-09-20 13:41:26 +02:00
2019-09-20 10:07:20 +02:00
2021-01-21 21:39:22 +01:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-08-31 09:35:32 +02:00
2021-01-16 18:31:13 +01:00
2020-08-25 17:34:46 +02:00
2021-02-07 19:46:15 +02:00
2021-02-04 17:58:33 +02:00
2019-09-20 16:38:11 +02:00
2021-01-28 19:56:35 +01:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-09-21 10:45:34 +02:00
2019-09-19 22:49:00 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2021-01-16 14:26:07 +01:00
2021-01-16 14:26:07 +01:00
2018-08-15 14:43:14 +02:00
2018-08-15 14:43:14 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-11-26 19:03:34 +00:00
2019-05-30 19:46:37 +02:00
2019-09-19 20:22:14 +02:00
2019-09-19 20:22:14 +02:00
2019-09-22 15:04:54 +02:00
2019-09-21 12:11:39 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-05-30 19:46:37 +02:00
2019-05-30 19:46:37 +02:00
2019-06-01 16:04:48 +02:00
2018-06-16 08:28:50 +02:00
2018-06-16 08:28:50 +02:00
2018-06-16 08:28:50 +02:00
2020-10-01 11:56:35 +02:00
2018-06-16 08:28:50 +02:00
2018-08-25 07:49:51 +03:00
2018-06-16 08:28:50 +02:00
2018-06-16 08:28:50 +02:00
2021-01-22 10:48:13 +01:00