aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Willoughby <chrrrisw@gmail.com>2014-09-04 10:10:01 +0930
committerChris Willoughby <chrrrisw@gmail.com>2014-09-04 10:10:01 +0930
commitb0e471da4058d8ec887353aef9156b0081cd701b (patch)
treef3d15f38a7b872ae1ef3f5fda38426f9b1791d2e
parentfb0e821459aebc451f005f82fbd4f01d7ec6fe7b (diff)
QtGui has no QPoint
Changed QtGui.QPoint to QtCore.QPoint
-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)