Making KTimeZoneWidget not hog the .ui file

Sebastian Kuegler sebas at
Fri Jan 18 21:18:27 GMT 2008

On Friday 18 January 2008 21:07:14 Albert Astals Cid wrote:
> Hi, when someone uses KTimeZoneWidget on designer and saves the .ui file,
> all the City items are written back to the file, that has two problems,
> first it makes the .ui file HUGE, but second and more important makes the
> translators go mad because something like 800 new strings appear.
> I'm attaching a patch that fixes the problem, i don't like it much though
> because it most probably leaks memory and because it does not show the
> items.
> What would be cool if one could instruct designer to show the items but not
> to save them into the ui file.
> Comments? Should i commit the patch? Is it possible to isntruct designer to
> be smarter?

FWIW, I think KColorCombo has the same problem...
sebas | |  GPG Key ID: 9119 0EF9 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list