summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-29 11:39:36 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-29 11:39:36 -0800
commit766b6b3e52478abd22a54fdcfe569e8dcca534e7 (patch)
tree250334facf25bb5130f64268c2e29c9f46471465
parent7c28cb989bda08610bf8f20bbfc9fb03b3b628a6 (diff)
downloadsubsurface-766b6b3e52478abd22a54fdcfe569e8dcca534e7.tar.gz
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>
-rw-r--r--qt-ui/subsurfacewebservices.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index 6d44d8c5b..7362255c3 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -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: