mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Set the download reply pointer to NULL after dismissing it
QNetworkReply might emit signals after it's been told to go away. We don't want to change the status after that. Signed-off-by: Thiago Macieira <thiago@macieira.org>
This commit is contained in:
parent
fa07f554e2
commit
ab1b314a84
2 changed files with 42 additions and 4 deletions
|
@ -24,8 +24,12 @@ private slots:
|
|||
virtual void startUpload() = 0;
|
||||
virtual void buttonClicked(QAbstractButton* button) = 0;
|
||||
|
||||
protected slots:
|
||||
void updateProgress(qint64 current, qint64 total);
|
||||
|
||||
protected:
|
||||
void resetState();
|
||||
void connectSignalsForDownload(QNetworkReply *reply);
|
||||
|
||||
Ui::WebServices ui;
|
||||
QNetworkReply *reply;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue