depot/third_party/nixpkgs/pkgs/development/python-modules/pyqtdarktheme/add-missing-argument-to-the-proxy-style-initializer.patch
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

25 lines
793 B
Diff

From 816afb6a3a6a340ae2a2a06dc054dd8e65ff9d8f Mon Sep 17 00:00:00 2001
From: Pavel Sobolev <paveloom@riseup.net>
Date: Mon, 30 Oct 2023 20:42:31 +0300
Subject: [PATCH] Add missing argument to the `proxy_style` initializer.
---
qdarktheme/_proxy_style.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qdarktheme/_proxy_style.py b/qdarktheme/_proxy_style.py
index b1fb358..f04f01e 100644
--- a/qdarktheme/_proxy_style.py
+++ b/qdarktheme/_proxy_style.py
@@ -14,7 +14,7 @@ class QDarkThemeStyle(QProxyStyle):
def __init__(self):
"""Initialize style proxy."""
- super().__init__()
+ super().__init__(None)
def standardIcon( # noqa: N802
self, standard_icon: QStyle.StandardPixmap, option: QStyleOption | None, widget
--
2.42.0