Prevent crash on shutdown

We always call reply->deleteLater(), so we where actually calling delete
on a stale pointer, that caused subsurface to crash on shutdown.

Reported-by: Sergey Starosek <sergey-starosek@yandex.ru>
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2015-01-30 15:37:11 +01:00 committed by Dirk Hohndel
parent 07e94c67e0
commit e9558d848c

View file

@ -19,7 +19,6 @@ DiveShareExportDialog::DiveShareExportDialog(QWidget *parent) :
DiveShareExportDialog::~DiveShareExportDialog()
{
delete ui;
delete reply;
}
void DiveShareExportDialog::UIDFromBrowser()