From 089d542a8d54b08a0d164d200add2cd248b1f270 Mon Sep 17 00:00:00 2001 From: taynpg Date: Sat, 8 Nov 2025 22:16:07 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=AD=A3=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E6=97=B6=E8=AF=AF=E5=88=A4=E6=9C=AC=E5=9C=B0=E5=B7=B2?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E7=9A=84BUG=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ClientCore/ClientCore.cpp | 2 +- Gui/Form/Transform.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ClientCore/ClientCore.cpp b/ClientCore/ClientCore.cpp index ef60ce2..3cffebd 100644 --- a/ClientCore/ClientCore.cpp +++ b/ClientCore/ClientCore.cpp @@ -100,7 +100,7 @@ void ClientCore::handleAsk(QSharedPointer frame) continue; } } else { - if (!Util::FileExist(item.localPath)) { + if (!Util::FileExist(item.remotePath)) { item.state = static_cast(FCS_FILE_NOT_EXIST); } } diff --git a/Gui/Form/Transform.cpp b/Gui/Form/Transform.cpp index 9bddf04..b5d8e26 100644 --- a/Gui/Form/Transform.cpp +++ b/Gui/Form/Transform.cpp @@ -9,7 +9,7 @@ TransForm::TransForm(QWidget* parent) : QDialog(parent), ui(new Ui::TransForm) { ui->setupUi(this); - setWindowTitle(tr("TransProgress")); + setWindowTitle(tr("传输详情")); ui->edFrom->setReadOnly(true); ui->edTo->setReadOnly(true); ui->pedFrom->setReadOnly(true); @@ -213,7 +213,7 @@ void CheckCondition::run() if (!task.isUpload) { if (!Util::DirExist(task.localPath, false)) { task.localCheckState = FCS_DIR_NOT_EXIST; - } else if (Util::FileExist(task.localPath)) { + } else if (Util::FileExist(Util::Get2FilePath(task.remotePath, task.localPath))) { task.localCheckState = FCS_FILE_EXIST; } }