SANKORE-436 fix memory leak with switch page

preferencesAboutTextFull
Anatoly Mihalchenko 13 years ago
parent 26e1f11a61
commit 7cd7d93c79
  1. 1
      src/gui/UBDocumentNavigator.cpp

@ -161,6 +161,7 @@ void UBDocumentNavigator::updateSpecificThumbnail(int iPage)
mScene->removeItem(pItem);
mScene->addItem(pixmapItem);
mThumbnails.replace(iPage, pixmapItem);
delete pItem;
}
}
}

Loading…
Cancel
Save