diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 48b54dd6f..291f7260b 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -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(); diff --git a/src/gui/properties/propertieswidget.cpp b/src/gui/properties/propertieswidget.cpp index 3c692ab44..cdb68da86 100644 --- a/src/gui/properties/propertieswidget.cpp +++ b/src/gui/properties/propertieswidget.cpp @@ -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;