From 4881a373f2bbf288692dd86bb9ff06589a560f9b Mon Sep 17 00:00:00 2001 From: "Anders H. Rebner" <anderhre@stud.ntnu.no> Date: Fri, 20 Mar 2020 18:25:28 +0100 Subject: [PATCH] Fikset super-kall i test_soi.py --- test/test_soi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_soi.py b/test/test_soi.py index 911b273..e55e160 100644 --- a/test/test_soi.py +++ b/test/test_soi.py @@ -33,9 +33,9 @@ class TestModule(ModuleBase, QWidget, metaclass=Meta): def __init__(self, color, width, height, *args, **kwargs): self.type = "TestModule" - # super(ModuleBase, self).__init__() + QWidget.__init__(self, *args, **kwargs) ModuleBase.__init__(self) - super(TestModule, self).__init__(*args, **kwargs) + self.setAutoFillBackground(True) palette = self.palette() palette.setColor(QPalette.Window, QColor(color)) -- GitLab