yacreader/YACReaderLibrary
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
..
2021-02-01 11:27:18 +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-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2018-08-07 11:09:02 +02:00
2019-06-01 16:04:48 +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-08-31 09:35:32 +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-09-19 22:49:00 +02:00
2019-06-01 16:04:48 +02:00
2018-08-15 14:43:14 +02:00
2018-08-15 14:43:14 +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
2018-06-16 08:28:50 +02:00
2018-06-16 08:28:50 +02:00
2021-01-22 10:48:13 +01:00