diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-12-06 19:06:58 +0100 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-12-06 19:06:58 +0100 |
commit | a18bae4db18da139978c18ea841b8b450cb1c7df (patch) | |
tree | 4fcc37ac7a5c7b5335796037988bd3cdf94e39b5 | |
parent | 34ce97fdd97563696ccfb3a713b838d4239477ea (diff) |
initialize after QGLWidget::showEvent(), just to be safe...
-rw-r--r-- | src/canvas/qxgraphicsview.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/canvas/qxgraphicsview.cpp b/src/canvas/qxgraphicsview.cpp index caf7ca3..b3fe658 100644 --- a/src/canvas/qxgraphicsview.cpp +++ b/src/canvas/qxgraphicsview.cpp @@ -586,15 +586,13 @@ void QxGraphicsView::setSceneGraphContext(QSGContext *context) void QxGraphicsView::showEvent(QShowEvent *e) { - printf("showEvent\n"); - initializeSceneGraph(); - #ifdef Q_WS_QPA QWidget::showEvent(e); #else QGLWidget::showEvent(e); #endif + initializeSceneGraph(); } /*! |