update
This commit is contained in:
parent
80b6f24af3
commit
acbfa531eb
|
@ -122,10 +122,10 @@ void WingElfPlugin::on_setting() {
|
||||||
|
|
||||||
void WingElfPlugin::analyse() {
|
void WingElfPlugin::analyse() {
|
||||||
if (reader.currentDoc() < 0) {
|
if (reader.currentDoc() < 0) {
|
||||||
USINGCONTROL(controller.toast(QIcon(":/image/icon.png"), tr("NoFile")));
|
toast(QIcon(":/image/icon.png"), tr("NoFile"));
|
||||||
} else {
|
} else {
|
||||||
if (this->parse()) {
|
if (this->parse()) {
|
||||||
USINGCONTROL(controller.toast(QIcon(":/image/icon.png"), tr("Success")));
|
toast(QIcon(":/image/icon.png"), tr("Success"));
|
||||||
} else {
|
} else {
|
||||||
QMessageBox::critical(nullptr, tr("WingElfParser"), tr("Error"));
|
QMessageBox::critical(nullptr, tr("WingElfParser"), tr("Error"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue