mirror of https://github.com/PCSX2/pcsx2.git
Qt: Fix use of tr outside of Qt class
This commit is contained in:
parent
d65133451d
commit
82a1ec0c3a
|
@ -172,8 +172,8 @@ namespace QtUtils
|
||||||
{
|
{
|
||||||
if (!QDesktopServices::openUrl(qurl))
|
if (!QDesktopServices::openUrl(qurl))
|
||||||
{
|
{
|
||||||
QMessageBox::critical(parent, QObject::tr("Failed to open URL"),
|
QMessageBox::critical(parent, QCoreApplication::translate("FileOperations", "Failed to open URL"),
|
||||||
QObject::tr("Failed to open URL.\n\nThe URL was: %1").arg(qurl.toString()));
|
QCoreApplication::translate("FileOperations", "Failed to open URL.\n\nThe URL was: %1").arg(qurl.toString()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue