fix: down remote file error.

This commit is contained in:
2025-06-20 09:45:39 +08:00
parent a8a9c43f8d
commit 32b206c2f5
11 changed files with 99 additions and 19 deletions

View File

@@ -30,12 +30,14 @@ signals:
void sigFailed();
void sigDone();
void sigSetUi(const TransTask& task);
void sigTaskNum(const QString& data);
private:
void setProgress(double val);
void handleFailed();
void handleDone();
void handleUI(const TransTask& task);
void showNum(const QString& data);
protected:
void showEvent(QShowEvent* event) override;
@@ -44,6 +46,7 @@ protected:
private:
bool exis_{ false };
TranFromTh* workTh_{};
qint32 curTaskNum_{ 0 };
QVector<TransTask> tasks_;
FileTrans* fileTrans_{};
ClientCore* clientCore_{};