mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Suppress warning
Seems `lupdate` tool cannot correctly recognize the class/context of `tr()` here, so specify the class/context manually.
This commit is contained in:
parent
9877ff330e
commit
fb37b0c147
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ catch (const RuntimeError &err)
|
|||
#else
|
||||
QMessageBox msgBox;
|
||||
msgBox.setIcon(QMessageBox::Critical);
|
||||
msgBox.setText(tr("Application failed to start."));
|
||||
msgBox.setText(QCoreApplication::translate("Application", "Application failed to start."));
|
||||
msgBox.setInformativeText(err.message());
|
||||
msgBox.show(); // Need to be shown or to moveToCenter does not work
|
||||
msgBox.move(Utils::Gui::screenCenter(&msgBox));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue