This commit is contained in:
寂静的羽夏 2022-08-02 09:24:48 +08:00
parent 80b6f24af3
commit acbfa531eb
1 changed files with 2 additions and 2 deletions

View File

@ -122,10 +122,10 @@ void WingElfPlugin::on_setting() {
void WingElfPlugin::analyse() {
if (reader.currentDoc() < 0) {
USINGCONTROL(controller.toast(QIcon(":/image/icon.png"), tr("NoFile")));
toast(QIcon(":/image/icon.png"), tr("NoFile"));
} else {
if (this->parse()) {
USINGCONTROL(controller.toast(QIcon(":/image/icon.png"), tr("Success")));
toast(QIcon(":/image/icon.png"), tr("Success"));
} else {
QMessageBox::critical(nullptr, tr("WingElfParser"), tr("Error"));
}