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.
This commit is contained in:
parent
71326cc91c
commit
44419d832d
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue