Skip to content

Commit 0393546

Browse files
committed
Fixed version checking when you have the latest version
1 parent 3b4a2fb commit 0393546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/updatedialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ UpdateDialog::UpdateDialog(UpdateManager *updateManager, QWidget *parent) :
1717
[=](QMap<QString, QString> info)
1818
{
1919
ui->plainTextEdit->setPlainText(info["bugfixes"]);
20-
if(info["version"] == BAKA_MPLAYER_VERSION)
20+
if(info["version"].trimmed() == BAKA_MPLAYER_VERSION)
2121
{
2222
ui->updateButton->setEnabled(false);
2323
ui->updateLabel->setText("You have the latest verion!");

0 commit comments

Comments
 (0)