MainWindow::~MainWindow()
{
- if (m_stopmotion) {
- delete m_stopmotion;
- }
+ delete m_stopmotion;
#ifdef USE_JOGSHUTTLE
- if (m_jogProcess)
- delete m_jogProcess;
+ delete m_jogProcess;
#endif
m_effectStack->slotClipItemSelected(NULL);
if (QFile::exists(url->url().path())) {
if (KMessageBox::questionYesNo(this, i18n("File %1 already exists.\nDo you want to overwrite it?", url->url().path())) == KMessageBox::No) {
slotSaveZone(render, zone, baseClip, url->url());
+ delete dialog;
return;
}
}
}
else render->saveZone(url->url(), edit->text(), zone);
}
+ delete dialog;
}