ZipIntaller: use file timestamp if version string is missing.
commit968448c9cdd2583225cff015b43aeeb9d1c304da
authorDominik Riebeling <Dominik.Riebeling@gmail.com>
Wed, 23 May 2012 19:05:28 +0000 (23 21:05 +0200)
committerDominik Riebeling <Dominik.Riebeling@gmail.com>
Wed, 23 May 2012 19:10:38 +0000 (23 21:10 +0200)
treea540f5733d60a649c1534a4c4ba00c2d8be619a3
parent5c36e2f21c13196cc0b6b34c8ee8149b0595bd82
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
rbutil/rbutilqt/base/zipinstaller.cpp
rbutil/rbutilqt/base/zipinstaller.h
rbutil/rbutilqt/gui/manualwidget.cpp
rbutil/rbutilqt/rbutilqt.cpp