git-svn-id: https://profuse.googlecode.com/svn/branches/v2@303 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
parent
e66058320f
commit
e3d0514c85
|
@ -91,6 +91,13 @@ FileEntry::~FileEntry()
|
|||
void FileEntry::setFileKind(unsigned kind)
|
||||
{
|
||||
_fileKind = kind;
|
||||
if (_pageSize)
|
||||
{
|
||||
delete _pageSize;
|
||||
_fileSize = 0;
|
||||
_pageSize = NULL;
|
||||
}
|
||||
|
||||
parent()->writeEntry(this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue