diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-09-03 13:39:44 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-09-03 13:41:54 (GMT) |
commit | 9ac8b0d3215e25a45d2119dbfe3c02770c29e923 (patch) | |
tree | 2cf40528b0681c308abf6e4daf9b3a9f8835bcda | |
parent | e7ff8a7eebd111483a561190011dc14f234a6313 (diff) | |
download | Qt-9ac8b0d3215e25a45d2119dbfe3c02770c29e923.zip Qt-9ac8b0d3215e25a45d2119dbfe3c02770c29e923.tar.gz Qt-9ac8b0d3215e25a45d2119dbfe3c02770c29e923.tar.bz2 |
Make sure that the dialog in the boxes demo paints window decorations.
tst_QGraphicsProxyWidget::windowFlags() demonstrates that this is
intended behaviour.
Reviewed-by: Kim
-rw-r--r-- | demos/boxes/scene.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/boxes/scene.h b/demos/boxes/scene.h index efe1e3f..23f17e5 100644 --- a/demos/boxes/scene.h +++ b/demos/boxes/scene.h @@ -108,6 +108,8 @@ private: class GraphicsWidget : public QGraphicsProxyWidget { +public: + GraphicsWidget() : QGraphicsProxyWidget(0, Qt::Window) {} protected: virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value); virtual void resizeEvent(QGraphicsSceneResizeEvent *event); |