<br><br><div><span class="gmail_quote">On 10/7/07, <b class="gmail_sendername">Kevin Krammer</b> <<a href="mailto:kevin.krammer@gmx.at">kevin.krammer@gmx.at</a>> wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br><br>I am testing KAddressBook distribution list IO and I think something has<br>changed in KConfig with respect to empty QStringList entries.<br><br>KABC saves distribution lists as QStringLists (ID of the addressee and email
<br>address).<br><br>When I start KAddressBook, create a new distribution list and save, the file<br>.kde/share/apps/kabc/distlists ends up like this<br><br>[DistributionLists]<br>Test1[$d]<br><br>The problem is that when loading this config, its entryMap() will be empty.
<br><br>I think the cause is in kconfig.cpp:675<br><br>    if ( value.isNull() ) // deleting entry<br>        options |= KEntryMap::EntryDeleted;<br><br>Since KConfig has been reworked since KDE3 I don't know it this is the new
<br>correct behavior, e.g. the application code has to be changed to not write<br>empty lists.</blockquote><div><br class="webkit-block-placeholder"></div><div>you're right, I just checked in a change that should fix this, but I can't test it right now, let me know if it works. 
</div><div><br class="webkit-block-placeholder"></div><div>Thomas</div><div><br class="webkit-block-placeholder"></div></div>