aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xexamples/itemviews/puzzle/puzzle.py2
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)