Bug 180211

Summary: Entries in 'Time servers' are repeated (Date and time settings > set date time automatically)
Product: [Applications] systemsettings Reporter: Syam <get.sonic>
Component: kcm_clockAssignee: Paul Campbell <paul>
Status: RESOLVED FIXED    
Severity: normal CC: jreznik
Priority: NOR    
Version: 4.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Proposed patch

Description Syam 2009-01-10 04:47:55 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Fedora RPMs

The list of time servers has duplicate entries. Please see Fedora bug https://bugzilla.redhat.com/show_bug.cgi?id=478584

Also, is this option available automagically depending on availability of ntp? The option itself is not present in Arch Linux (KDE 4.1) and a Debian based KDE 4.2 live CD.
Comment 1 Jaroslav Reznik 2009-01-13 13:30:01 UTC
Created attachment 30210 [details]
Proposed patch

Clears serverList before loading new items. I can commit to SVN.
Comment 2 Dario Andres 2009-05-10 23:29:24 UTC
SVN commit 966287 by darioandres:

Clear the timeServers list on load()
Also, do not call load() from the constructor as it will be called later
automatically.

BUG: 180211


 M  +1 -2      dtime.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=966287
Comment 3 Dario Andres 2009-05-10 23:33:16 UTC
SVN commit 966289 by darioandres:

Backport to 4.2branch of:
SVN commit 966287 by darioandres:

Clear the timeServers list on load()
Also, do not call load() from the constructor as it will be called later
automatically.

CCBUG: 180211


 M  +1 -2      dtime.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=966289