summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-05-23 21:05:28 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-05-23 21:10:38 +0200
commit968448c9cdd2583225cff015b43aeeb9d1c304da (patch)
treea540f5733d60a649c1534a4c4ba00c2d8be619a3 /rbutil/rbutilqt/rbutilqt.cpp
parent5c36e2f21c13196cc0b6b34c8ee8149b0595bd82 (diff)
downloadrockbox-968448c9cdd2583225cff015b43aeeb9d1c304da.tar.gz
rockbox-968448c9cdd2583225cff015b43aeeb9d1c304da.tar.bz2
rockbox-968448c9cdd2583225cff015b43aeeb9d1c304da.zip
ZipIntaller: use file timestamp if version string is missing.
Instead of using some arbitrary and not really useful string use the timestamp of the downloaded file if version string is provided by the caller. This also makes it possible to check if the downloaded file is actually a different one. Use it for manual and game file downloads, as this gives more reasonable values than using the date transmitted for daily (archived) build and as support for archived builds will be removed shortly. Change-Id: I0c751fabe7bb516edca93a5f73f077a611d4ef87
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 5c496585ec..ae45068bde 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -994,7 +994,7 @@ void RbUtilQt::installDoom()
installer->setUrl(SystemInfo::value(SystemInfo::DoomUrl).toString());
installer->setLogSection("Game Addons");
- installer->setLogVersion(ServerInfo::value(ServerInfo::DailyDate).toString());
+ installer->setLogVersion();
installer->setMountPoint(RbSettings::value(RbSettings::Mountpoint).toString());
if(!RbSettings::value(RbSettings::CacheDisabled).toBool())
installer->setCache(true);