summaryrefslogtreecommitdiffstats
path: root/examples/gui
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gui')
-rw-r--r--examples/gui/rasterwindow/rasterwindow.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/gui/rasterwindow/rasterwindow.cpp b/examples/gui/rasterwindow/rasterwindow.cpp
index fb717a4c8a..68d1d7f524 100644
--- a/examples/gui/rasterwindow/rasterwindow.cpp
+++ b/examples/gui/rasterwindow/rasterwindow.cpp
@@ -53,12 +53,9 @@
//! [1]
RasterWindow::RasterWindow(QWindow *parent)
: QWindow(parent)
+ , m_backingStore(new QBackingStore(this))
{
- create();
- m_backingStore = new QBackingStore(this);
-
setGeometry(100, 100, 300, 200);
-
}
//! [1]