some destructors added

This commit is contained in:
Luis Ángel San Martín
2013-07-18 17:38:54 +02:00
parent 1728f85cc0
commit 69c86c9344
17 changed files with 164 additions and 44 deletions

View File

@ -115,6 +115,23 @@ drag(false)
}
Viewer::~Viewer()
{
delete render;
delete goToFlow;
delete translator;
delete translatorAnimation;
delete content;
delete hideCursorTimer;
delete informationLabel;
delete verticalScroller;
delete bd;
delete notificationsLabel;
delete mglass;
if(currentPage != 0)
delete currentPage;
}
void Viewer::createConnections()
{
//magnifyingGlass (update mg after a background change