mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Properly reset the state of the download dialog before dismissing
Re-enable buttons that should be enabled by default, disable the others, set the status to empty, make the progress bar go back to zero. Signed-off-by: Thiago Macieira <thiago@macieira.org>
This commit is contained in:
parent
481ddf43c6
commit
fa07f554e2
2 changed files with 14 additions and 4 deletions
|
@ -25,6 +25,8 @@ private slots:
|
|||
virtual void buttonClicked(QAbstractButton* button) = 0;
|
||||
|
||||
protected:
|
||||
void resetState();
|
||||
|
||||
Ui::WebServices ui;
|
||||
QNetworkReply *reply;
|
||||
QByteArray downloadedData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue