From a137733d1069129766ef72b487899ac906729e3b Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Fri, 10 Apr 2009 15:11:53 +0000 Subject: 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 --- rbutil/rbutilqt/install.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rbutil/rbutilqt/install.cpp b/rbutil/rbutilqt/install.cpp index bb873ca..b1020b8 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("This is the recommended version.")); + 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("Note:" + ui.labelNote->setText(tr("Note: " "The lastest released version is %1. " "This is the recommended version.") .arg(version.value("rel_rev"))); -- cgit v1.1