From bbd0f8b36f17ff3744b981d6bc931f12cbf863db Mon Sep 17 00:00:00 2001 From: taynpg Date: Tue, 11 Nov 2025 13:58:35 +0800 Subject: [PATCH] =?UTF-8?q?msg=EF=BC=9A=E4=BC=A0=E8=BE=93=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E6=8F=90=E7=A4=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ClientCore/FileTrans.cpp | 1 + Gui/Form/Transform.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/ClientCore/FileTrans.cpp b/ClientCore/FileTrans.cpp index 7d76f90..28d3cd6 100644 --- a/ClientCore/FileTrans.cpp +++ b/ClientCore/FileTrans.cpp @@ -332,6 +332,7 @@ void FileTrans::fbtCanotSend(QSharedPointer frame) if (sendTask_->file.isOpen()) { sendTask_->file.close(); } + sendTask_->state = TaskState::STATE_FAILED; } void FileTrans::fbtCanSend(QSharedPointer frame) diff --git a/Gui/Form/Transform.cpp b/Gui/Form/Transform.cpp index e5e645c..239630f 100644 --- a/Gui/Form/Transform.cpp +++ b/Gui/Form/Transform.cpp @@ -110,6 +110,7 @@ void TransForm::setProgress(double val) void TransForm::handleFailed() { ui->progressBar->setValue(0); + QMessageBox::information(this, tr("提示"), tr("传输失败")); } void TransForm::handleDone()