diff options
author | JiDe Zhang <zhangjide@uniontech.com> | 2021-02-03 13:39:09 +0800 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2021-02-05 00:05:44 +0000 |
commit | e831f1dc103304a3317be5328e386939cdf02c3c (patch) | |
tree | 67c761a4f5590fbeec5807f2a0a6fadbe60e875d /src/quick | |
parent | 04c0615352e947a23bcd52a0da4f901b3decdb87 (diff) |
fix a comment
There is no the QQuickWindow::setBackend() function, only
QQuickWindow::setSceneGraphBackend() and QSGContext::setBackend()
are available, assume it is the public one.
Change-Id: If5c4650d96919715abce92aec30f474518139ce6
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick')
-rw-r--r-- | src/quick/scenegraph/qsgcontextplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgcontextplugin.cpp b/src/quick/scenegraph/qsgcontextplugin.cpp index 288d16f743..b720e4c406 100644 --- a/src/quick/scenegraph/qsgcontextplugin.cpp +++ b/src/quick/scenegraph/qsgcontextplugin.cpp @@ -115,7 +115,7 @@ QSGAdaptationBackendData *contextFactory() backendData->tried = true; const QStringList args = QGuiApplication::arguments(); - QString requestedBackend = backendData->quickWindowBackendRequest; // empty or set via QQuickWindow::setBackend() + QString requestedBackend = backendData->quickWindowBackendRequest; // empty or set via QQuickWindow::setSceneGraphBackend() for (int index = 0; index < args.count(); ++index) { if (args.at(index).startsWith(QLatin1String("--device="))) { |