Skip to content

Commit

Permalink
Fixed version checking when you have the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
u8sand committed Nov 20, 2014
1 parent 3b4a2fb commit 0393546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/updatedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ UpdateDialog::UpdateDialog(UpdateManager *updateManager, QWidget *parent) :
[=](QMap<QString, QString> 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!");
Expand Down

0 comments on commit 0393546

Please sign in to comment.