aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/animation/appchooser/appchooser.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/animation/appchooser/appchooser.py')
-rwxr-xr-xexamples/widgets/animation/appchooser/appchooser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/animation/appchooser/appchooser.py b/examples/widgets/animation/appchooser/appchooser.py
index 67550ab4e..862e2bef4 100755
--- a/examples/widgets/animation/appchooser/appchooser.py
+++ b/examples/widgets/animation/appchooser/appchooser.py
@@ -79,7 +79,7 @@ def createStates(objects, selectedRect, parent):
def createAnimations(objects, machine):
for obj in objects:
- animation = QtCore.QPropertyAnimation(obj, 'geometry', obj)
+ animation = QtCore.QPropertyAnimation(obj, b'geometry', obj)
machine.addDefaultAnimation(animation)