summaryrefslogtreecommitdiff
path: root/examples/icons.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/icons.py')
-rw-r--r--examples/icons.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/icons.py b/examples/icons.py
index 673ca6f..ae77630 100644
--- a/examples/icons.py
+++ b/examples/icons.py
@@ -146,7 +146,7 @@ class IconPreview(qt.QMainWindow):
for i, icon_info in enumerate(icons):
icon_name, icon_kind = icon_info
- col, line = i / 10, i % 10
+ col, line = i // 10, i % 10
if icon_kind == "anim":
tool = AnimatedToolButton(panel)
try: