Delete getBookDone file

This commit is contained in:
Nicolas Mailloux 2021-12-29 23:12:38 -05:00
parent 33aba576de
commit 9a309773d6

View file

@ -117,11 +117,13 @@ void bookInfoDialog::waitForBookFetch() {
if(checkconfig("/inkbox/gutenberg/getBookDone") == true) {
emit closeIndefiniteToast();
emit showToast("Download successful");
QFile::remove("/inkbox/gutenberg/getBookDone");
break;
}
else {
emit closeIndefiniteToast();
emit showToast("Download failed");
QFile::remove("/inkbox/gutenberg/getBookDone");
break;
}
}