msg:传输失败提示。

This commit is contained in:
2025-11-11 13:58:35 +08:00
parent 67afb64a0e
commit bbd0f8b36f
2 changed files with 2 additions and 0 deletions

View File

@@ -332,6 +332,7 @@ void FileTrans::fbtCanotSend(QSharedPointer<FrameBuffer> frame)
if (sendTask_->file.isOpen()) {
sendTask_->file.close();
}
sendTask_->state = TaskState::STATE_FAILED;
}
void FileTrans::fbtCanSend(QSharedPointer<FrameBuffer> frame)

View File

@@ -110,6 +110,7 @@ void TransForm::setProgress(double val)
void TransForm::handleFailed()
{
ui->progressBar->setValue(0);
QMessageBox::information(this, tr("提示"), tr("传输失败"));
}
void TransForm::handleDone()