summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-04-10 15:11:53 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-04-10 15:11:53 +0000
commita137733d1069129766ef72b487899ac906729e3b (patch)
treec745ad489025cb1b17e6c0ee9e9821cbf640d840 /rbutil
parentb2c4bd3a53f06699d601e73a7fa0732611e99f7f (diff)
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
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/install.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/install.cpp b/rbutil/rbutilqt/install.cpp
index bb873caef7..b1020b8982 100644
--- a/rbutil/rbutilqt/install.cpp
+++ b/rbutil/rbutilqt/install.cpp
@@ -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")));