From d2b87e0eb5f5d5e85a9e65c4370f3c6fe42c9357 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 24 Oct 2013 22:38:41 -0200 Subject: Fixed a crash when the user canceled the download from webservice dialog. Null references, ah, love them. Signed-off-by: Tomaz Canabrava --- qt-ui/subsurfacewebservices.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui') 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*))); -- cgit v1.2.3-70-g09d2