From 0393546b62fcfb1dbdc593fde0c6ad06733d02b3 Mon Sep 17 00:00:00 2001 From: Daniel Clarke Date: Thu, 20 Nov 2014 11:30:41 -0500 Subject: [PATCH] Fixed version checking when you have the latest version --- src/ui/updatedialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!");