[PATCH] Network timestamp

Helmut Schaa hschaa at suse.de
Mon Apr 14 11:29:27 CEST 2008


Hi,

Am Dienstag, 8. April 2008 19:32:53 schrieb Valentine Sinitsyn:
> The attached patch fixes the bug with "Last used" field not being
> updated for networks connected automatically.

Thanks a lot.
Committed.

> 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.

I'm not sure why this check was introduced but I guess the patch will not 
cause any harm ;)

Helmut



More information about the kde-networkmanager mailing list