refactor: message::showWaylandLibaryError, use name in the title and enable translations

This commit is contained in:
sithlord48 2025-06-07 23:13:27 -04:00 committed by Nick Bolton
parent 8f7fbc0a21
commit 197b9ed886

View file

@ -270,8 +270,8 @@ void showReadOnlySettings(QWidget *parent, const QString &systemSettingsPath)
void showWaylandLibraryError(QWidget *parent) void showWaylandLibraryError(QWidget *parent)
{ {
QMessageBox::critical( QMessageBox::critical(
parent, "Library problem", parent, kAppName,
QString( QObject::tr(
"<p>Sorry, while this version of %1 does support Wayland, " "<p>Sorry, while this version of %1 does support Wayland, "
"this build was not linked with one or more of the required " "this build was not linked with one or more of the required "
"libraries.</p>" "libraries.</p>"