func:新建文件夹成功。

This commit is contained in:
2025-11-16 20:51:56 +08:00
parent a608bedd11
commit 5139a66b9d
6 changed files with 183 additions and 68 deletions

View File

@@ -132,6 +132,16 @@ void ClientCore::handleAsk(QSharedPointer<FrameBuffer> frame)
}
return;
}
if (msg.command == STRMSG_AC_NEW_DIR) {
msg.command = STRMSG_AC_ANSWER_NEW_DIR;
msg.msg = Util::NewDir(msg.fromPath);
if (!Send<InfoMsg>(msg, FBT_MSGINFO_ANSWER, frame->fid)) {
auto logMsg = tr("") + frame->fid + tr("返回新建结果消息失败。");
qCritical() << logMsg;
return;
}
return;
}
// 未知信息
qWarning() << QString(tr("未知询问信息类型:%1")).arg(msg.command);
}