summaryrefslogtreecommitdiffstats
path: root/qt-ui/subsurfacewebservices.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-10-24 22:38:41 -0200
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-10-24 22:38:41 -0200
commitd2b87e0eb5f5d5e85a9e65c4370f3c6fe42c9357 (patch)
tree0c07be82a5b30dddcb9f69a3c4b1bcdab0ac55b0 /qt-ui/subsurfacewebservices.cpp
parent5eb2cc4594ab2181ccc3b09a2540af3fb615468e (diff)
downloadsubsurface-d2b87e0eb5f5d5e85a9e65c4370f3c6fe42c9357.tar.gz
Fixed a crash when the user canceled the download from webservice dialog.
Null references, ah, love them. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r--qt-ui/subsurfacewebservices.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index d9da69287..344815c21 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -16,6 +16,7 @@ struct dive_table gps_location_table;
static bool merge_locations_into_dives(void);
WebServices::WebServices(QWidget* parent, Qt::WindowFlags f): QDialog(parent, f)
+, reply(0)
{
ui.setupUi(this);
connect(ui.buttonBox, SIGNAL(clicked(QAbstractButton*)), this, SLOT(buttonClicked(QAbstractButton*)));