diff --git a/src/ui/updatedialog.cpp b/src/ui/updatedialog.cpp index e9a4b176..b395aec7 100644 --- a/src/ui/updatedialog.cpp +++ b/src/ui/updatedialog.cpp @@ -17,7 +17,7 @@ UpdateDialog::UpdateDialog(UpdateManager *updateManager, QWidget *parent) : [=](QMap info) { ui->plainTextEdit->setPlainText(info["bugfixes"]); - if(info["version"] == BAKA_MPLAYER_VERSION) + if(info["version"].trimmed() == BAKA_MPLAYER_VERSION) { ui->updateButton->setEnabled(false); ui->updateLabel->setText("You have the latest verion!");