opti:优化提示错误。
This commit is contained in:
@@ -261,7 +261,10 @@ void MainWidget::judge_btn_page()
|
||||
|
||||
void MainWidget::read(const QString& file_path)
|
||||
{
|
||||
ini_.set_xml_path(file_path.toStdString());
|
||||
if (!ini_.set_xml_path(file_path.toStdString())) {
|
||||
CUtil::msg(this, u8"没有ini配置文件或者保存ini失败。");
|
||||
return;
|
||||
}
|
||||
ui->edStatus->setText(file_path);
|
||||
|
||||
if (!xml_.open(base_.xml_path)) {
|
||||
|
||||
Reference in New Issue
Block a user