git-svn-id: https://profuse.googlecode.com/svn/branches/v2@303 aa027e90-d47c-11dd-86d7-074df07e0730

This commit is contained in:
ksherlock 2010-05-30 21:58:06 +00:00
parent e66058320f
commit e3d0514c85
1 changed files with 7 additions and 0 deletions

View File

@ -91,6 +91,13 @@ FileEntry::~FileEntry()
void FileEntry::setFileKind(unsigned kind)
{
_fileKind = kind;
if (_pageSize)
{
delete _pageSize;
_fileSize = 0;
_pageSize = NULL;
}
parent()->writeEntry(this);
}