[PATCH] Network timestamp

Valentine Sinitsyn valentine.sinitsyn at usu.ru
Tue Apr 8 19:32:53 CEST 2008


Hi,

The attached patch fixes the bug with "Last used" field not being 
updated for networks connected automatically.

The code in KNetworkManagerStorage::updateNetwork() was explicitly 
checking for network NOT being connected automatically before updating 
the timestamp. I don't know why this was needed, although I guess when I 
was refactoring this code back in 2006, if (!automatic) check was used 
as a substitute for (non-existsing at that time) net->isModified() call. 
I've left the check in place so the warning is still issued if needed.

Valentine.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: timestamp-fix.patch
Url: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20080408/70baa0dc/attachment.ksh 


More information about the kde-networkmanager mailing list