mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 09:54:16 +02:00
[view.qt] refactoring: using a different approach to cancel file downloads to keep compatibility with older Python versions
This commit is contained in:
@@ -290,8 +290,10 @@ class ManageWindow(QWidget):
|
||||
self.table_container.setLayout(QVBoxLayout())
|
||||
self.table_container.layout().setContentsMargins(0, 0, 0, 0)
|
||||
|
||||
self.table_apps = PackagesTable(self, self.icon_cache,
|
||||
download_icons=bool(self.config['download']['icons']))
|
||||
self.table_apps = PackagesTable(parent=self,
|
||||
icon_cache=self.icon_cache,
|
||||
download_icons=bool(self.config['download']['icons']),
|
||||
logger=logger)
|
||||
self.table_apps.change_headers_policy()
|
||||
self.table_container.layout().addWidget(self.table_apps)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user