Image caching mostly functional

This commit is contained in:
BasioMeusPuga
2018-03-07 21:51:21 +05:30
parent 3919fe530e
commit a9dff278b9
3 changed files with 63 additions and 8 deletions

View File

@@ -229,7 +229,7 @@ class MainUI(QtWidgets.QMainWindow, mainwindow.Ui_MainWindow):
# TODO
# Maybe use this for readjusting the border of the focus rectangle
# in the listView
# in the listView. Maybe this is a job for QML?
# self.listView.setStyleSheet(
# "QListView::item:selected { border-color:blue; border-style:outset;"
@@ -1165,7 +1165,8 @@ class MainUI(QtWidgets.QMainWindow, mainwindow.Ui_MainWindow):
self.settings['last_open_books'].append(tab_metadata['path'])
Settings(self).save_settings()
self.thread = BackGroundTabUpdate(self.database_path, all_metadata)
self.thread = BackGroundTabUpdate(
self.database_path, all_metadata)
self.thread.finished.connect(self.database_care)
self.thread.start()