Re: [Ktechlab-devel] corrupted circuits

2009-02-07 Thread Julian Bäume
hey, I think, I got it. Please test it, for me, it seems to work. I couldn't reproduce it any longer. What I actually did was to make sure, all ids in a ItemDocument are unique. At least for the Connectors this should now be the case. I'll have a look into other components later. Please drop me

Re: [Ktechlab-devel] corrupted circuits

2009-02-01 Thread Alan Grimes
> After that one, I'm going to have a look on the logic behind connecting > items. > If it's only broken for the bus and the flow-chart items mentioned in the > wiki, we should fix it. If we need to implement new logic, we should leave > that for the next release, because it isn't critical but

Re: [Ktechlab-devel] corrupted circuits

2009-02-01 Thread Julian Bäume
On Sunday 01 February 2009 06:20:46 Julian Bäume wrote: > Tomorrow I'll try to find, where and why there is data removed from that > list. The key of that QMap is a QString that represents the id of the > connector, so if there are 2 connectors with the same id added to this > QMap, it will only co

Re: [Ktechlab-devel] corrupted circuits

2009-01-31 Thread Julian Bäume
hey, I can exclude that this corruption happens during saving to file. I fiddled around with gdb the whole night and found out, that ItemDocumentData::m_connectorDataMap (typedef QMap< QString, ConnectorData > ConnectorDataMap;) contains less entries than it should have. Tomorrow I'll try to fi