Merge pull request #4488 from Hummer12007/patch-1
Use native style for downloads view on macOS
This commit is contained in:
commit
9b6eaf4b03
@ -75,7 +75,8 @@ class DownloadView(QListView):
|
|||||||
|
|
||||||
def __init__(self, win_id, parent=None):
|
def __init__(self, win_id, parent=None):
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
self.setStyle(QStyleFactory.create('Fusion'))
|
if not utils.is_mac:
|
||||||
|
self.setStyle(QStyleFactory.create('Fusion'))
|
||||||
config.set_register_stylesheet(self)
|
config.set_register_stylesheet(self)
|
||||||
self.setResizeMode(QListView.Adjust)
|
self.setResizeMode(QListView.Adjust)
|
||||||
self.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
self.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||||
|
Loading…
Reference in New Issue
Block a user