bootmanager: In 'Unknown Qt platform' error, print the platform name

This commit is contained in:
comex
2020-11-21 17:38:11 -05:00
parent d75d845c6c
commit 5d7c0d5e70

View File

@@ -260,7 +260,7 @@ static Core::Frontend::WindowSystemType GetWindowSystemType() {
else if (platform_name == QStringLiteral("wayland"))
return Core::Frontend::WindowSystemType::Wayland;
LOG_CRITICAL(Frontend, "Unknown Qt platform!");
LOG_CRITICAL(Frontend, "Unknown Qt platform {}!", platform_name.toStdString());
return Core::Frontend::WindowSystemType::Windows;
}