1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Nilesh Patra <nilesh@debian.org>
Date: Sun, 13 Mar 2022 03:37:32 +0100
Subject: Fix int compare with python3.10
---
src/silx/app/view/About.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/silx/app/view/About.py b/src/silx/app/view/About.py
index 76e0cf2..350337d 100644
--- a/src/silx/app/view/About.py
+++ b/src/silx/app/view/About.py
@@ -250,7 +250,7 @@ class About(qt.QDialog):
width = hardLimit
height = layoutMinimumSize.height()
- self.setFixedSize(width, height)
+ self.setFixedSize(int(width), int(height))
@staticmethod
def about(parent, applicationName):
|