From 619ea080364cce9a4b390e75796809f454b80dd3 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Tue, 10 Jun 2025 10:09:39 +0200 Subject: [PATCH] rhi: d3d: Change a warning to categorized logging It is not that important to warn about the DXGI factory being stale when a screen gets connected or disconnected. It is not an error, and happens every time if a screen gets added or removed while the application is running. Pick-to: 6.10 6.9 6.8 Change-Id: I414668dc7aa0279f63fc79799ea53101065ab013 Reviewed-by: Andy Nichols --- src/gui/rhi/qdxgivsyncservice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/rhi/qdxgivsyncservice.cpp b/src/gui/rhi/qdxgivsyncservice.cpp index ce4a37f055e..5f9b39f8035 100644 --- a/src/gui/rhi/qdxgivsyncservice.cpp +++ b/src/gui/rhi/qdxgivsyncservice.cpp @@ -159,7 +159,7 @@ void QDxgiVSyncService::beginFrame(LUID) // else, then start from scratch. if (dxgiFactory && !dxgiFactory->IsCurrent()) { - qWarning("QDxgiVSyncService: DXGI Factory is no longer Current"); + qCDebug(lcQpaScreenUpdates, "QDxgiVSyncService: DXGI Factory is no longer Current"); QVarLengthArray luids; for (auto it = adapters.begin(), end = adapters.end(); it != end; ++it) luids.append(it->luid);