From e09cf859b8b5eb8186e51b795e3088e1061e2088 Mon Sep 17 00:00:00 2001 From: taynpg Date: Mon, 2 Feb 2026 21:28:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=B0=E5=BB=BA=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E6=97=B6=E4=B8=8D=E6=8F=90=E7=A4=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 4 ++++ Gui/Control/FileControl.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1b68ea..cae9ad6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,10 @@ variables: RELEASENAME: "$PROJECT_NAME-v$PROJECT_VERSION" DESCRIPTION: | + # 优化 + + - 删除新建文件(夹)成功时不提示。 + # 功能新增 - 对照传输支持按照类型传输。 diff --git a/Gui/Control/FileControl.cpp b/Gui/Control/FileControl.cpp index 62aecd3..7c9687f 100644 --- a/Gui/Control/FileControl.cpp +++ b/Gui/Control/FileControl.cpp @@ -569,7 +569,7 @@ void FileManager::OperNewFolder() if (!isRemote_) { QString ret = Util::NewDir(folder); if (ret.isEmpty()) { - QMessageBox::information(this, tr("提示"), tr("创建%1成功").arg(folder)); + //QMessageBox::information(this, tr("提示"), tr("创建%1成功").arg(folder)); DirFileInfo nf; nf.size = 0; nf.type = Dir; @@ -609,7 +609,7 @@ void FileManager::OperNewFolder() if (msg.msg == STR_NONE || !msg.msg.isEmpty()) { QMessageBox::information(this, tr("提示"), QString(tr("新建失败=>%1")).arg(msg.msg)); } else { - QMessageBox::information(this, tr("提示"), QString(tr("新建%1成功。")).arg(folder)); + //QMessageBox::information(this, tr("提示"), QString(tr("新建%1成功。")).arg(folder)); DirFileInfo nf; nf.size = 0; nf.type = Dir; @@ -642,7 +642,7 @@ void FileManager::OperDelete() if (!isRemote_) { QString ret = Util::Delete(name); if (ret.isEmpty()) { - QMessageBox::information(this, tr("提示"), tr("删除成功")); + //QMessageBox::information(this, tr("提示"), tr("删除成功")); int row = datas[0]->row(); ui->tableWidget->removeRow(row); } else { @@ -676,7 +676,7 @@ void FileManager::OperDelete() if (msg.msg == STR_NONE || !msg.msg.isEmpty()) { QMessageBox::information(this, tr("提示"), QString(tr("删除失败=>%1")).arg(msg.msg)); } else { - QMessageBox::information(this, tr("提示"), QString(tr("删除成功。"))); + //QMessageBox::information(this, tr("提示"), QString(tr("删除成功。"))); ui->tableWidget->removeRow(datas[0]->row()); } }