Fix lint
This commit is contained in:
parent
1ca80fec8e
commit
a70aa212e0
@ -21,7 +21,6 @@
|
||||
|
||||
import unittest
|
||||
from unittest import TestCase
|
||||
from unittest.mock import Mock
|
||||
|
||||
import qutebrowser.utils.signals as sigutils
|
||||
|
||||
|
@ -18,10 +18,6 @@
|
||||
"""Utilities regarding signals."""
|
||||
|
||||
import re
|
||||
import logging
|
||||
from collections import OrderedDict
|
||||
|
||||
from PyQt5.QtCore import QObject
|
||||
|
||||
|
||||
def signal_name(sig):
|
||||
|
@ -61,6 +61,7 @@ class Progress(QProgressBar):
|
||||
|
||||
@pyqtSlot(int)
|
||||
def on_tab_changed(self, idx):
|
||||
"""Set the correct value when the current tab changed."""
|
||||
tab = self.sender().widget(idx)
|
||||
self.setValue(tab.progress)
|
||||
if tab.load_status == LoadStatus.loading:
|
||||
|
@ -89,6 +89,7 @@ class WebView(QWebView):
|
||||
self._force_open_target = None
|
||||
self._destroyed = {}
|
||||
self._zoom = None
|
||||
self._has_ssl_errors = False
|
||||
self._init_neighborlist()
|
||||
self.progress = 0
|
||||
self.page_ = BrowserPage(self)
|
||||
|
Loading…
Reference in New Issue
Block a user