Typos in examples/tutorials

Bug #69376 reported by Danie1
2
Affects Status Importance Assigned to Milestone
python-qt4 (Ubuntu)
Fix Released
Undecided
Matthias Klose

Bug Description

Binary package hint: python-qt4-doc

While reading the tutorials I found a typo in a piece of code that isn't actually executed.
"result.moveBottomLeft(self.rect().bottomLect())" should be "result.moveBottomLeft(self.rect().bottomLeft())".
This code line is copied into every py file from t10.py and onwards.

This is a diff showing how it should be:

diff tutorial/t10.py tutorial-my/t10.py
93c93
< result.moveBottomLeft(self.rect().bottomLect())
---
> result.moveBottomLeft(self.rect().bottomLeft())
diff tutorial/t11.py tutorial-my/t11.py
135c135
< result.moveBottomLeft(self.rect().bottomLect())
---
> result.moveBottomLeft(self.rect().bottomLeft())
diff tutorial/t12.py tutorial-my/t12.py
179c179
< result.moveBottomLeft(self.rect().bottomLect())
---
> result.moveBottomLeft(self.rect().bottomLeft())
diff tutorial/t13.py tutorial-my/t13.py
204c204
< result.moveBottomLeft(self.rect().bottomLect())
---
> result.moveBottomLeft(self.rect().bottomLeft())
diff tutorial/t14.py tutorial-my/t14.py
232c232
< result.moveBottomLeft(self.rect().bottomLect())
---
> result.moveBottomLeft(self.rect().bottomLeft())

Revision history for this message
Matthias Klose (doko) wrote :

fixed in 4.1-0ubuntu6

Changed in python-qt4:
assignee: nobody → doko
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.