From 9a309773d6c8f74d5f94b70b42299945b511d32d Mon Sep 17 00:00:00 2001 From: Nicolas Mailloux Date: Wed, 29 Dec 2021 23:12:38 -0500 Subject: [PATCH] Delete getBookDone file --- bookinfodialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookinfodialog.cpp b/bookinfodialog.cpp index 0b14890..9f0dc18 100644 --- a/bookinfodialog.cpp +++ b/bookinfodialog.cpp @@ -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; } }