1
0
Fork 0
forked from len0rd/rockbox

Install dialog: fix version notes not getting cleared correctly for current build if a release is available.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20675 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-04-10 15:11:53 +00:00
parent b2c4bd3a53
commit a137733d10

View file

@ -234,6 +234,8 @@ void Install::setDetailsCurrent(bool show)
.arg(version.value("bleed_rev"), version.value("bleed_date")));
if(version.value("rel_rev").isEmpty())
ui.labelNote->setText(tr("<b>This is the recommended version.</b>"));
else
ui.labelNote->setText("");
}
}
@ -245,7 +247,7 @@ void Install::setDetailsStable(bool show)
tr("This is the last released version of Rockbox."));
if(!version.value("rel_rev").isEmpty())
ui.labelNote->setText(tr("<b>Note:</b>"
ui.labelNote->setText(tr("<b>Note:</b> "
"The lastest released version is %1. "
"<b>This is the recommended version.</b>")
.arg(version.value("rel_rev")));