Companion new error detected on flash (when no device found)

This commit is contained in:
Bertrand Songis
2019-05-17 19:47:35 +02:00
parent 260bceb85d
commit e036e3afa1
8 changed files with 64 additions and 56 deletions
+16 -10
View File
@@ -28,31 +28,37 @@
#include <QFile>
namespace Ui {
class downloadDialog;
class DownloadDialog;
}
class downloadDialog : public QDialog
class DownloadDialog : public QDialog
{
Q_OBJECT
Q_OBJECT
public:
explicit downloadDialog(QWidget *parent = 0, QString src = "", QString tgt = "");
~downloadDialog();
public:
explicit DownloadDialog(QWidget *parent = 0, QString src = "", QString tgt = "");
~DownloadDialog();
public slots:
virtual void reject() override;
private slots:
private slots:
void fileError();
void httpFinished();
void httpReadyRead();
void updateDataReadProgress(qint64 bytesRead, qint64 totalBytes);
private:
private:
#if 0
void closeEvent( QCloseEvent * event);
void closeEvent(QCloseEvent * event);
#endif
Ui::downloadDialog *ui;
Ui::DownloadDialog *ui;
QNetworkAccessManager qnam;
QNetworkReply *reply;