Qt: Fix accidential QObject translation context

pull/3719/head
Stenzek 5 months ago
parent 0eed1d93f8
commit a2cffcf5e9
No known key found for this signature in database

@ -137,8 +137,8 @@ void QtUtils::OpenURL(QWidget* parent, const QUrl& qurl)
{
if (!QDesktopServices::openUrl(qurl))
{
QtUtils::AsyncMessageBox(parent, QMessageBox::Critical, QObject::tr("Failed to open URL"),
QObject::tr("Failed to open URL.\n\nThe URL was: %1").arg(qurl.toString()));
QtUtils::AsyncMessageBox(parent, QMessageBox::Critical, "Failed to open URL"_L1,
QStringLiteral("Failed to open URL.\n\nThe URL was: %1").arg(qurl.toString()));
}
}

Loading…
Cancel
Save