From 4e266103ad8b75d71fb176a2f774faf71997123d Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Mon, 22 Jun 2020 13:00:03 +0200 Subject: Rename setSceneGraphBackend to setGraphicsApi ...and fix up the docs. The string-based setSceneGraphBackend() stays of course (the docs have been enhanced, however). The GraphicsApi enum-based overload is now renamed to setGraphicsApi(). Using the same name for both functions is a historical artifact, reflecting the evolution (5.0 - 5.8 - 5.14). In 6.0 we can give it a more appropriate name, since it does not have much to do with "backends" from the user's perspective. Change-Id: Id75dbf81f50a148797e5b5de9be4000153737473 Reviewed-by: Andy Nichols --- src/quick/scenegraph/qsgrhisupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quick/scenegraph/qsgrhisupport.cpp') diff --git a/src/quick/scenegraph/qsgrhisupport.cpp b/src/quick/scenegraph/qsgrhisupport.cpp index 4ba0cca65e..5029103cff 100644 --- a/src/quick/scenegraph/qsgrhisupport.cpp +++ b/src/quick/scenegraph/qsgrhisupport.cpp @@ -120,7 +120,7 @@ void QSGRhiSupport::applySettings() m_settingsApplied = true; // This is also done when creating the renderloop but we may be before that - // in case we get here due to a setScenegraphBackend() -> configure() early + // in case we get here due to a setGraphicsApi() -> configure() early // on in main(). Avoid losing info logs since troubleshooting gets // confusing otherwise. QSGRhiSupport::checkEnvQSgInfo(); -- cgit v1.2.3