mirror of
https://github.com/YACReader/yacreader
synced 2025-07-23 07:24:58 -04:00
Copy and move to import are now cancelable
This commit is contained in:
@ -1335,6 +1335,8 @@ void LibraryWindow::processComicFiles(ComicFilesManager * comicFilesManager, QPr
|
||||
|
||||
comicFilesManager->moveToThread(thread);
|
||||
|
||||
connect(progressDialog, SIGNAL(canceled()), comicFilesManager, SLOT(cancel()), Qt::DirectConnection);
|
||||
|
||||
connect(thread, SIGNAL(started()), comicFilesManager, SLOT(process()));
|
||||
connect(comicFilesManager, SIGNAL(success()), this, SLOT(updateCopyMoveFolderDestination()));
|
||||
connect(comicFilesManager, SIGNAL(finished()), thread, SLOT(quit()));
|
||||
|
Reference in New Issue
Block a user