examples: Rename setPersistentOpenGLContext

Align with qtdeclarative 6f4fdce07fa2e75e09dcc90a76ea6d741fb58e74.

Change-Id: I177e060c0f1a17ff807e4baeda673ebbf017c719
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Liang Qi 2020-06-11 18:12:14 +02:00
parent 27ee95baf1
commit 754f008641
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ void tst_examples::sgexamples()
{
QFETCH(QString, file);
QQuickWindow window;
window.setPersistentOpenGLContext(true);
window.setPersistentGraphics(true);
window.setPersistentSceneGraph(true);
QQmlComponent component(&engine, QUrl::fromLocalFile(file));