Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyqtdarktheme / add-missing-argument-to-the-proxy-style-initializer.patch
blob9d77e2901bed07048755382346e851a0827333bd
1 From 816afb6a3a6a340ae2a2a06dc054dd8e65ff9d8f Mon Sep 17 00:00:00 2001
2 From: Pavel Sobolev <paveloom@riseup.net>
3 Date: Mon, 30 Oct 2023 20:42:31 +0300
4 Subject: [PATCH] Add missing argument to the `proxy_style` initializer.
6 ---
7 qdarktheme/_proxy_style.py | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/qdarktheme/_proxy_style.py b/qdarktheme/_proxy_style.py
11 index b1fb358..f04f01e 100644
12 --- a/qdarktheme/_proxy_style.py
13 +++ b/qdarktheme/_proxy_style.py
14 @@ -14,7 +14,7 @@ class QDarkThemeStyle(QProxyStyle):
16 def __init__(self):
17 """Initialize style proxy."""
18 - super().__init__()
19 + super().__init__(None)
21 def standardIcon( # noqa: N802
22 self, standard_icon: QStyle.StandardPixmap, option: QStyleOption | None, widget
24 2.42.0