update
This commit is contained in:
parent
80b6f24af3
commit
acbfa531eb
|
@ -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"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue