Don't call deleteLater on ui elements
I'll admit that I don't fully understand this part of Qt. But commenting out the deleteLater (like we already do for another one) fixes the crash - and shouldn't do more than add a potential small memory leak. Fixes #309 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7c28cb989b
commit
766b6b3e52
@ -91,7 +91,7 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton* button)
|
||||
// we may want to clean up after ourselves, but this
|
||||
// makes Subsurface throw a SIGSEGV...
|
||||
// manager->deleteLater();
|
||||
reply->deleteLater();
|
||||
// reply->deleteLater();
|
||||
ui.progressBar->setMaximum(1);
|
||||
break;
|
||||
case QDialogButtonBox::HelpRole:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user