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>
This commit is contained in:
parent
5eb2cc4594
commit
d2b87e0eb5
@ -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*)));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user