Bug 180211 - Entries in 'Time servers' are repeated (Date and time settings > set date time automatically)
Summary: Entries in 'Time servers' are repeated (Date and time settings > set date tim...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_clock (show other bugs)
Version: 4.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Paul Campbell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-10 04:47 UTC by Syam
Modified: 2009-05-10 23:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Proposed patch (433 bytes, patch)
2009-01-13 13:30 UTC, Jaroslav Reznik
Details

Note You need to log in before you can comment on or make changes to this bug.
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