1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: Ensure icons are not initialised too early during tests
Upstream does not wish to apply this patch, but without it, the entire
test suite fails to run for us.
Forwarded: https://github.com/spyder-ide/spyder/issues/23074
Author: Colin Watson <cjwatson@debian.org> and Julian Gilbey <jdg@debian.org>
Last-Update: 2025-04-01
--- a/spyder/widgets/sidebardialog.py
+++ b/spyder/widgets/sidebardialog.py
@@ -107,12 +107,12 @@
# To be set by childs
TITLE = ""
- ICON = QIcon()
MIN_WIDTH = 800
MIN_HEIGHT = 600
PAGE_CLASSES: List[Type[SidebarPage]] = []
def __init__(self, parent=None):
+ self.ICON = QIcon()
QDialog.__init__(self, parent)
# ---- Attributes
|