diff --git a/src/RemoteDatabase.cpp b/src/RemoteDatabase.cpp index 9652ba53..c3801eea 100644 --- a/src/RemoteDatabase.cpp +++ b/src/RemoteDatabase.cpp @@ -238,7 +238,8 @@ void RemoteDatabase::gotError(QNetworkReply* reply, const QList& erro QMessageBox::warning(0, qApp->applicationName(), message); // Delete reply later, i.e. after returning from this slot function - m_progress->reset(); + if(m_progress) + m_progress->reset(); reply->deleteLater(); }