Improved download database management

This commit is contained in:
alessandro90
2019-03-26 21:47:17 +01:00
parent 8c1a6438ec
commit 0d83bf4ab0
19 changed files with 113 additions and 452 deletions

View File

@@ -28,11 +28,6 @@ class DownloadWindow(QWidget, Ui_Download_window):
text = Messages.BAD_DOWNLOAD_MSG,
connection = self.close)
# Never used (should exploit the checksum check for the single file)
self.bad_file_msg = throwable_message(self, title = Messages.BAD_FILE,
text = Messages.BAD_FILE_MSG,
connection = self.close)
self.download_thread = DownloadThread()
self.download_thread.finished.connect(self.wait_close)
@@ -46,10 +41,6 @@ class DownloadWindow(QWidget, Ui_Download_window):
self.bad_db_download_msg.show()
self.everything_ok = False
def show_bad_file_warning(self):
self.bad_file_msg.show()
self.everything_ok = False
@pyqtSlot()
def terminate_process(self):
if self.download_thread.isRunning():