diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-04-24 18:06:07 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-04-24 18:10:10 +0200 |
commit | e2db790593eee8329fe8b168e82043bcbb19cbae (patch) | |
tree | 8d0690d20472bba48e4074c463019e0b6d0b2ee6 /qutebrowser/config/stylesheet.py | |
parent | 65345eab9572fe2426eb8292aa4ab734c099576f (diff) | |
download | qutebrowser-new-stubs.tar.gz qutebrowser-new-stubs.zip |
wipnew-stubs
Diffstat (limited to 'qutebrowser/config/stylesheet.py')
-rw-r--r-- | qutebrowser/config/stylesheet.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qutebrowser/config/stylesheet.py b/qutebrowser/config/stylesheet.py index 2927aec08..2c0c5fb07 100644 --- a/qutebrowser/config/stylesheet.py +++ b/qutebrowser/config/stylesheet.py @@ -23,6 +23,7 @@ import functools from typing import Optional, FrozenSet from PyQt5.QtCore import pyqtSlot, QObject +from PyQt5.QtWidgets import QWidget from qutebrowser.config import config from qutebrowser.misc import debugcachestats @@ -71,7 +72,7 @@ class _StyleSheetObserver(QObject): None. """ - def __init__(self, obj: QObject, + def __init__(self, obj: QWidget, stylesheet: Optional[str], update: bool) -> None: super().__init__() self._obj = obj |