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; } }