eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8166
bd5cd5858503
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py	Mon Mar 01 17:48:43 2021 +0100
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py	Tue Mar 02 17:17:09 2021 +0100
@@ -97,5 +97,7 @@
         elif code.startswith("S"):
             itm.setIcon(1, UI.PixmapCache.getIcon("securityLow"))
         
-        itm.setTextAlignment(0, Qt.AlignRight | Qt.AlignVCenter)
-        itm.setTextAlignment(1, Qt.AlignHCenter | Qt.AlignVCenter)
+        itm.setTextAlignment(
+            0, Qt.AlignmentFlag.AlignRight | Qt.AlignmentFlag.AlignVCenter)
+        itm.setTextAlignment(
+            1, Qt.AlignmentFlag.AlignHCenter | Qt.AlignmentFlag.AlignVCenter)

eric ide

mercurial