From 44419d832d853454fc9e8e1a6898a88d7b480685 Mon Sep 17 00:00:00 2001 From: Stefan Hoffmeister Date: Mon, 18 Dec 2023 22:02:42 +0100 Subject: [PATCH] Decrease log level of reporting choosing backend Automatic backend selection is a very normal by-design activity that warrants informing. Decrease from log level Warning to Info to avoid spoiling the log at too high of a log priority. --- src/main_wayland.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main_wayland.cpp b/src/main_wayland.cpp index cf5ec0831a..47328ab434 100644 --- a/src/main_wayland.cpp +++ b/src/main_wayland.cpp @@ -437,13 +437,13 @@ int main(int argc, char *argv[]) backendType = BackendType::Virtual; } else { if (qEnvironmentVariableIsSet("WAYLAND_DISPLAY")) { - qWarning("No backend specified, automatically choosing Wayland because WAYLAND_DISPLAY is set"); + qInfo("No backend specified, automatically choosing Wayland because WAYLAND_DISPLAY is set"); backendType = BackendType::Wayland; } else if (qEnvironmentVariableIsSet("DISPLAY")) { - qWarning("No backend specified, automatically choosing X11 because DISPLAY is set"); + qInfo("No backend specified, automatically choosing X11 because DISPLAY is set"); backendType = BackendType::X11; } else { - qWarning("No backend specified, automatically choosing drm"); + qInfo("No backend specified, automatically choosing drm"); backendType = BackendType::Kms; } }