summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-11-07 20:29:49 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-11-07 20:29:49 (GMT)
commitb897c194904fe201f348bf6129314fbd1dda8c95 (patch)
tree9002d4c6438861fdd9f252f9a5d6b5aa0ea95640
parentf5d6f539c6b2a8ff7f9f2f4297f6cd3e6309493f (diff)
downloadQt-b897c194904fe201f348bf6129314fbd1dda8c95.zip
Qt-b897c194904fe201f348bf6129314fbd1dda8c95.tar.gz
Qt-b897c194904fe201f348bf6129314fbd1dda8c95.tar.bz2
The sizePolicy property of QGraphicsWidget should be of type QSizePolicy of course!
-rw-r--r--src/gui/graphicsview/qgraphicswidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicswidget.h b/src/gui/graphicsview/qgraphicswidget.h
index 15dc878..05d3a49 100644
--- a/src/gui/graphicsview/qgraphicswidget.h
+++ b/src/gui/graphicsview/qgraphicswidget.h
@@ -77,7 +77,7 @@ class Q_GUI_EXPORT QGraphicsWidget : public QGraphicsObject, public QGraphicsLay
Q_PROPERTY(QSizeF minimumSize READ minimumSize WRITE setMinimumSize)
Q_PROPERTY(QSizeF preferredSize READ preferredSize WRITE setPreferredSize)
Q_PROPERTY(QSizeF maximumSize READ maximumSize WRITE setMaximumSize)
- Q_PROPERTY(QSizePolicy::Policy sizePolicy READ sizePolicy WRITE setSizePolicy)
+ Q_PROPERTY(QSizePolicy sizePolicy READ sizePolicy WRITE setSizePolicy)
Q_PROPERTY(Qt::FocusPolicy focusPolicy READ focusPolicy WRITE setFocusPolicy)
Q_PROPERTY(Qt::WindowFlags windowFlags READ windowFlags WRITE setWindowFlags)
Q_PROPERTY(QString windowTitle READ windowTitle WRITE setWindowTitle)