msg:传输失败提示。
This commit is contained in:
@@ -332,6 +332,7 @@ void FileTrans::fbtCanotSend(QSharedPointer<FrameBuffer> frame)
|
|||||||
if (sendTask_->file.isOpen()) {
|
if (sendTask_->file.isOpen()) {
|
||||||
sendTask_->file.close();
|
sendTask_->file.close();
|
||||||
}
|
}
|
||||||
|
sendTask_->state = TaskState::STATE_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileTrans::fbtCanSend(QSharedPointer<FrameBuffer> frame)
|
void FileTrans::fbtCanSend(QSharedPointer<FrameBuffer> frame)
|
||||||
|
|||||||
@@ -110,6 +110,7 @@ void TransForm::setProgress(double val)
|
|||||||
void TransForm::handleFailed()
|
void TransForm::handleFailed()
|
||||||
{
|
{
|
||||||
ui->progressBar->setValue(0);
|
ui->progressBar->setValue(0);
|
||||||
|
QMessageBox::information(this, tr("提示"), tr("传输失败"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void TransForm::handleDone()
|
void TransForm::handleDone()
|
||||||
|
|||||||
Reference in New Issue
Block a user