rem: MainWidget::~MainWidget() { mManager->save();  delete mManager; mManager = 0;  delete mEngine; mEngine = 0; }
add: ~MainWidget()  { }
context: MainWidget::~MainWidget(){  mManager->save();  delete mManager;  mManager = 0;  delete mEngine;  mEngine = 0;}