Clean up after removing shutdown code
This commit is contained in:
parent
db51a51e5a
commit
11ea911940
@ -25,7 +25,6 @@ import subprocess
|
|||||||
import faulthandler
|
import faulthandler
|
||||||
import configparser
|
import configparser
|
||||||
from bdb import BdbQuit
|
from bdb import BdbQuit
|
||||||
from functools import partial
|
|
||||||
from signal import signal, SIGINT
|
from signal import signal, SIGINT
|
||||||
from base64 import b64encode
|
from base64 import b64encode
|
||||||
|
|
||||||
|
@ -222,7 +222,6 @@ class TabbedBrowser(TabWidget):
|
|||||||
except TypeError as e:
|
except TypeError as e:
|
||||||
log.destroy.debug("Error while shutting down tabs: {}: {}".format(
|
log.destroy.debug("Error while shutting down tabs: {}: {}".format(
|
||||||
e.__class__.__name__, e))
|
e.__class__.__name__, e))
|
||||||
tabcount = self.count()
|
|
||||||
for tab in self.widgets:
|
for tab in self.widgets:
|
||||||
self._tabs.remove(tab)
|
self._tabs.remove(tab)
|
||||||
|
|
||||||
|
@ -19,11 +19,8 @@
|
|||||||
|
|
||||||
"""The main browser widgets."""
|
"""The main browser widgets."""
|
||||||
|
|
||||||
import functools
|
|
||||||
|
|
||||||
from PyQt5.QtCore import pyqtSignal, pyqtSlot, Qt, QTimer
|
from PyQt5.QtCore import pyqtSignal, pyqtSlot, Qt, QTimer
|
||||||
from PyQt5.QtWidgets import QApplication
|
from PyQt5.QtWidgets import QApplication
|
||||||
from PyQt5.QtWebKit import QWebSettings
|
|
||||||
from PyQt5.QtWebKitWidgets import QWebView, QWebPage
|
from PyQt5.QtWebKitWidgets import QWebView, QWebPage
|
||||||
|
|
||||||
import qutebrowser.config.config as config
|
import qutebrowser.config.config as config
|
||||||
|
Loading…
Reference in New Issue
Block a user