Typo fixed

This commit is contained in:
Jan Käberich 2020-11-08 14:56:04 +01:00
parent 8b9b8265b9
commit 5499bcf8f3

View File

@ -323,10 +323,10 @@ void AppWindow::StartFirmwareUpdateDialog()
void AppWindow::DeviceNeedsUpdate(int reported, int expected) void AppWindow::DeviceNeedsUpdate(int reported, int expected)
{ {
auto ret = QMessageBox::warning(this, "Warning", auto ret = QMessageBox::warning(this, "Warning",
"The device reports are different protocol" "The device reports a different protocol"
"version (" + QString::number(reported) + ") than expected (" + QString::number(expected) + ").\n" "version (" + QString::number(reported) + ") than expected (" + QString::number(expected) + ").\n"
"A firmware update is strongly suggested. Do you want to update now?", "A firmware update is strongly recommended. Do you want to update now?",
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
if (ret == QMessageBox::Yes) { if (ret == QMessageBox::Yes) {
StartFirmwareUpdateDialog(); StartFirmwareUpdateDialog();
} }