mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
LibraryWindow: remove a duplicate signal-slot connection
QSqlDatabase::commit() in ComicModel::finishTransaction() returned false (failed) when this slot was invoked the second time in a row.
This commit is contained in:
parent
5257dc88d6
commit
aa9dd95d5d
@ -2544,7 +2544,6 @@ void LibraryWindow::deleteComicsFromDisk()
|
||||
connect(remover, SIGNAL(remove(int)), comicsModel, SLOT(remove(int)));
|
||||
connect(remover, SIGNAL(removeError()), this, SLOT(setRemoveError()));
|
||||
connect(remover, SIGNAL(finished()), comicsModel, SLOT(finishTransaction()));
|
||||
connect(remover, SIGNAL(finished()), comicsModel, SLOT(finishTransaction()));
|
||||
connect(remover, SIGNAL(removedItemsFromFolder(qulonglong)), foldersModel, SLOT(updateFolderChildrenInfo(qulonglong)));
|
||||
|
||||
connect(remover, SIGNAL(finished()), this, SLOT(checkEmptyFolder()));
|
||||
|
Loading…
Reference in New Issue
Block a user