新增代码检索功能、提升业务转码效率等
This commit is contained in:
@@ -151,12 +151,15 @@ void BatchConvertPage::initUI()
|
||||
void BatchConvertPage::onProgressUpdate(int progress, const QString& status)
|
||||
{
|
||||
m_progressBar->setValue(progress);
|
||||
|
||||
QString displayStatus = status;
|
||||
if (displayStatus.length() > 80) {
|
||||
displayStatus = displayStatus.left(80) + "...";
|
||||
|
||||
// 仅当传入有效状态文字时才更新标签,避免无意义的日志行覆盖当前处理状态
|
||||
if (!status.isEmpty()) {
|
||||
QString displayStatus = status;
|
||||
if (displayStatus.length() > 80) {
|
||||
displayStatus = displayStatus.left(80) + "...";
|
||||
}
|
||||
m_progressLabel->setText(displayStatus);
|
||||
}
|
||||
m_progressLabel->setText(displayStatus);
|
||||
}
|
||||
|
||||
bool BatchConvertPage::checkFunctionExists(const QString &funcName)
|
||||
|
||||
Reference in New Issue
Block a user