Fix crash in qtlocation tests.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Tue, 23 Oct 2012 14:40:19 +0000 (16:40 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 24 Oct 2012 06:20:24 +0000 (08:20 +0200)
Task-number: QTBUG-27696
Change-Id: I0cc12e1be25a789a8245fae3a444629ca57872ef
Reviewed-by: Christopher Adams <chris.adams@qinetic.com.au>
Reviewed-by: Martin Jones <martin.jones@qinetic.com.au>
src/qmltest/quicktest.cpp

index 0a99654..d622ac9 100644 (file)
@@ -322,7 +322,7 @@ int quick_test_main(int argc, char **argv, const char *name, const char *sourceD
                 rootobj.setWindowShown(true);
             if (!rootobj.hasQuit && rootobj.hasTestCase())
                 eventLoop.exec();
-            view->hide();
+            // view->hide(); Causes a crash in Qt3D due to deletion of the GL context, see QTBUG-27696
         }
     }