Disable translation of program name

This commit is contained in:
Chocobo1 2021-01-20 11:30:14 +08:00 committed by sledgehammer999
parent 230f98da4a
commit c998c7d38d
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
2 changed files with 2 additions and 2 deletions

View file

@ -1916,7 +1916,7 @@ void MainWindow::handleUpdateCheckFinished(bool updateAvailable, QString newVers
}
else if (invokedByUser)
{
QMessageBox::information(this, tr("qBittorrent"),
QMessageBox::information(this, QLatin1String("qBittorrent"),
tr("No updates available.\nYou are already using the latest version."));
}
sender()->deleteLater();

View file

@ -800,7 +800,7 @@ void PropertiesWidget::editWebSeed()
if (!m_ui->listWebSeeds->findItems(newSeed, Qt::MatchFixedString).empty())
{
QMessageBox::warning(this, tr("qBittorrent"),
QMessageBox::warning(this, QLatin1String("qBittorrent"),
tr("This URL seed is already in the list."),
QMessageBox::Ok);
return;