diff options
author | Chris Willoughby <chrrrisw@gmail.com> | 2014-09-04 10:10:01 +0930 |
---|---|---|
committer | Chris Willoughby <chrrrisw@gmail.com> | 2014-09-04 10:10:01 +0930 |
commit | b0e471da4058d8ec887353aef9156b0081cd701b (patch) | |
tree | f3d15f38a7b872ae1ef3f5fda38426f9b1791d2e | |
parent | fb0e821459aebc451f005f82fbd4f01d7ec6fe7b (diff) |
QtGui has no QPoint
Changed QtGui.QPoint to QtCore.QPoint
-rwxr-xr-x | examples/itemviews/puzzle/puzzle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/itemviews/puzzle/puzzle.py b/examples/itemviews/puzzle/puzzle.py index 98ebd4e..8277d42 100755 --- a/examples/itemviews/puzzle/puzzle.py +++ b/examples/itemviews/puzzle/puzzle.py @@ -273,7 +273,7 @@ class PiecesModel(QtCore.QAbstractListModel): while not stream.atEnd(): pixmap = QtGui.QPixmap() - location = QtGui.QPoint() + location = QtCore.QPoint() stream >> pixmap >> location self.beginInsertRows(QtCore.QModelIndex(), endRow, endRow) |