diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-04-10 15:11:53 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-04-10 15:11:53 +0000 |
commit | a137733d1069129766ef72b487899ac906729e3b (patch) | |
tree | c745ad489025cb1b17e6c0ee9e9821cbf640d840 | |
parent | b2c4bd3a53f06699d601e73a7fa0732611e99f7f (diff) | |
download | rockbox-a137733d1069129766ef72b487899ac906729e3b.tar.gz rockbox-a137733d1069129766ef72b487899ac906729e3b.zip |
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
-rw-r--r-- | rbutil/rbutilqt/install.cpp | 4 |
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) | |||
234 | .arg(version.value("bleed_rev"), version.value("bleed_date"))); | 234 | .arg(version.value("bleed_rev"), version.value("bleed_date"))); |
235 | if(version.value("rel_rev").isEmpty()) | 235 | if(version.value("rel_rev").isEmpty()) |
236 | ui.labelNote->setText(tr("<b>This is the recommended version.</b>")); | 236 | ui.labelNote->setText(tr("<b>This is the recommended version.</b>")); |
237 | else | ||
238 | ui.labelNote->setText(""); | ||
237 | } | 239 | } |
238 | } | 240 | } |
239 | 241 | ||
@@ -245,7 +247,7 @@ void Install::setDetailsStable(bool show) | |||
245 | tr("This is the last released version of Rockbox.")); | 247 | tr("This is the last released version of Rockbox.")); |
246 | 248 | ||
247 | if(!version.value("rel_rev").isEmpty()) | 249 | if(!version.value("rel_rev").isEmpty()) |
248 | ui.labelNote->setText(tr("<b>Note:</b>" | 250 | ui.labelNote->setText(tr("<b>Note:</b> " |
249 | "The lastest released version is %1. " | 251 | "The lastest released version is %1. " |
250 | "<b>This is the recommended version.</b>") | 252 | "<b>This is the recommended version.</b>") |
251 | .arg(version.value("rel_rev"))); | 253 | .arg(version.value("rel_rev"))); |