[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r3165: Save the time at which we last checked for updates in UTC. I (vidalia/trunk/src/vidalia/config)
Author: edmanm
Date: 2008-09-29 22:18:54 -0400 (Mon, 29 Sep 2008)
New Revision: 3165
Modified:
vidalia/trunk/src/vidalia/config/generalpage.cpp
Log:
Save the time at which we last checked for updates in UTC. I don't know where
this would be a problem (jet-setting users plugging their TBB-loaded USB keys
in computers around the world?), but seems like a fine preventative measure.
Modified: vidalia/trunk/src/vidalia/config/generalpage.cpp
===================================================================
--- vidalia/trunk/src/vidalia/config/generalpage.cpp 2008-09-30 02:17:47 UTC (rev 3164)
+++ vidalia/trunk/src/vidalia/config/generalpage.cpp 2008-09-30 02:18:54 UTC (rev 3165)
@@ -143,7 +143,13 @@
void
GeneralPage::checkForUpdates()
{
- _vidaliaSettings->setLastCheckedForUpdates(QDateTime::currentDateTime());
+ /* TODO: Check for software updates. Ideally this will have a foreground
+ * window that tells the user "Hey, your stuff is current!" or not.
+ */
+
+ /* Remember the last time we checked for updates */
+ QDateTime lastCheckedAt = QDateTime::currentDateTime().toUTC();
+ _vidaliaSettings->setLastCheckedForUpdates(lastCheckedAt);
}