From 9ac8b0d3215e25a45d2119dbfe3c02770c29e923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Arve=20S=C3=A6ther?= Date: Thu, 3 Sep 2009 15:39:44 +0200 Subject: Make sure that the dialog in the boxes demo paints window decorations. tst_QGraphicsProxyWidget::windowFlags() demonstrates that this is intended behaviour. Reviewed-by: Kim --- demos/boxes/scene.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'demos') diff --git a/demos/boxes/scene.h b/demos/boxes/scene.h index efe1e3fce9..23f17e53e4 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); -- cgit v1.2.3