Browse Source

Disable translation of program name

adaptive-webui-19844
Chocobo1 4 years ago
parent
commit
d85a41ad75
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/gui/mainwindow.cpp
  2. 2
      src/gui/properties/propertieswidget.cpp

2
src/gui/mainwindow.cpp

@ -1916,7 +1916,7 @@ void MainWindow::handleUpdateCheckFinished(bool updateAvailable, QString newVers @@ -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();

2
src/gui/properties/propertieswidget.cpp

@ -800,7 +800,7 @@ void PropertiesWidget::editWebSeed() @@ -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;

Loading…
Cancel
Save