summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2015-01-31 18:30:42 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2015-05-02 16:52:13 +0200
commit72b81c25590b972c785ff30e0e9732a756ab9e9e (patch)
tree7b28c503d92431b01a9345ecbd06d702751ceede /rbutil/rbutilqt/rbutilqt.cpp
parent43b1ccffcc2df42146bde053bb13e5168dfa2334 (diff)
downloadrockbox-72b81c25590b972c785ff30e0e9732a756ab9e9e.tar.gz
rockbox-72b81c25590b972c785ff30e0e9732a756ab9e9e.tar.bz2
rockbox-72b81c25590b972c785ff30e0e9732a756ab9e9e.zip
Improve update check information dialog.
Show the user both the current and updated version. Change-Id: Ief693cce020a39a0c79bf2705da4a44b7bd15928
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index b1ea041858..4c06163404 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -729,10 +729,11 @@ void RbUtilQt::downloadUpdateDone(bool error)
#endif
url += foundVersion;
- QMessageBox::information(this,tr("RockboxUtility Update available"),
- tr("<b>New RockboxUtility Version available.</b> <br><br>"
- "Download it from here: <a href='%1'>%2</a>")
- .arg(url).arg(foundVersion));
+ QMessageBox::information(this,tr("Rockbox Utility Update available"),
+ tr("<b>New Rockbox Utility version available.</b><br><br>"
+ "You are currently using version %1. "
+ "Get version %2 at <a href='%3'>%3</a>")
+ .arg(VERSION).arg(Utils::trimVersionString(foundVersion)).arg(url));
ui.statusbar->showMessage(tr("New version of Rockbox Utility available."));
}
else {