corrected regression: resuming downloadlist download did not start\n added downloading speed in progress bar

This commit is contained in:
2023-02-22 00:48:16 +01:00
parent e8743ff802
commit a8e888e20d
5 changed files with 95 additions and 63 deletions
+5
View File
@@ -10,6 +10,7 @@
#include <QMainWindow>
#include <string>
#include <QTreeWidgetItem>
#include <QList>
#include <QListWidgetItem>
#include <QProgressDialog>
#include <QSettings>
@@ -68,6 +69,7 @@ class Downloading
QString service;
QString path;
QString savePath;
int port;
QProcess * process = nullptr;
bool quit = false;
void clear();
@@ -198,9 +200,12 @@ class MainWindow : public QMainWindow
void on_actionExit_triggered();
void setDlSpeed(QString speed);
signals:
void stopDownloading(QProcess *);
void progressSignal(int);
void speed(QString);
void finishedSignal(bool = true);
void fileName(QString);
//void errorSignal(QString);