deloptes wrote:
Michele Calgaro wrote:
regards
Hi Deloptes, sorry for the late reply. I also have similar files on my system. They are vcards, they seems to be created by KOrganizer when the main window is displayed (you can try deleting them and opening KOrganizer window a few times to see them come back). Not sure why they are created, would have to check in the code. Perhaps it is a bug, what do you think? Feel free to open a bug report if you want.
Cheers Michele
I just now found some time to snoop around for the source of this. The answer is in tdeabc/plugins/file/resourcefile.cpp
bool ResourceFile::doOpen() { TQFile file( mFileName ); [...] for (int i=0; i!=20; i++) { TQFile backup( mFileName + "__" + TQString::number(i) ); [...] }
void ResourceFile::doClose() { }
interesting why it leaves he files and more interesting why it caches the data from those files.
The code however is not that intelligent if you look into it (i!=20), so perhaps we can improve a bit.
(to be continued)
regards