Use native style for downloads view on macOS
This commit is contained in:
parent
cbb6ae860c
commit
a49f82062b
@ -75,6 +75,7 @@ class DownloadView(QListView):
|
|||||||
|
|
||||||
def __init__(self, win_id, parent=None):
|
def __init__(self, win_id, parent=None):
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
|
if not utils.is_mac:
|
||||||
self.setStyle(QStyleFactory.create('Fusion'))
|
self.setStyle(QStyleFactory.create('Fusion'))
|
||||||
config.set_register_stylesheet(self)
|
config.set_register_stylesheet(self)
|
||||||
self.setResizeMode(QListView.Adjust)
|
self.setResizeMode(QListView.Adjust)
|
||||||
|
Loading…
Reference in New Issue
Block a user