summaryrefslogtreecommitdiffstats
path: root/examples/gui/rasterwindow
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gui/rasterwindow')
-rw-r--r--examples/gui/rasterwindow/rasterwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gui/rasterwindow/rasterwindow.cpp b/examples/gui/rasterwindow/rasterwindow.cpp
index e999ed92b1..9424a90b95 100644
--- a/examples/gui/rasterwindow/rasterwindow.cpp
+++ b/examples/gui/rasterwindow/rasterwindow.cpp
@@ -45,11 +45,11 @@ RasterWindow::RasterWindow(QWindow *parent)
: QWindow(parent)
, m_update_pending(false)
{
+ m_backingStore = new QBackingStore(this);
create();
setGeometry(100, 100, 300, 200);
- m_backingStore = new QBackingStore(this);
}
//! [1]