AssetExport: Add export notification when export finishes

Change-Id: I6c9227fcc25c43415dec1afdaf95da5a1430a700
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Vikas Pachdha
2020-06-18 21:53:49 +02:00
parent dff01adf94
commit 22abe8ef1c
2 changed files with 1 additions and 1 deletions

View File

@@ -145,7 +145,6 @@ void AssetExportDialog::onExportStateChanged(AssetExporter::ParsingState newStat
case AssetExporter::ParsingState::ExportingDone:
m_exportBtn->setVisible(false);
m_ui->buttonBox->button(QDialogButtonBox::Close)->setVisible(true);
QMessageBox::information(this, tr("QML Export"), tr("Done"));
break;
default:
break;

View File

@@ -164,6 +164,7 @@ void AssetExporter::writeMetadata() const
}
}
notifyProgress(1.0);
ExportNotification::addInfo(tr("Export finished."));
m_currentState.change(ParsingState::ExportingDone);
}