From 22abe8ef1c10cf0058f4ee21417982ea598a8775 Mon Sep 17 00:00:00 2001 From: Vikas Pachdha Date: Thu, 18 Jun 2020 21:53:49 +0200 Subject: [PATCH] AssetExport: Add export notification when export finishes Change-Id: I6c9227fcc25c43415dec1afdaf95da5a1430a700 Reviewed-by: Leena Miettinen Reviewed-by: Tim Jenssen --- .../qmldesigner/assetexporterplugin/assetexportdialog.cpp | 1 - src/plugins/qmldesigner/assetexporterplugin/assetexporter.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/assetexporterplugin/assetexportdialog.cpp b/src/plugins/qmldesigner/assetexporterplugin/assetexportdialog.cpp index dee7dc5462d..b41ce82b2a0 100644 --- a/src/plugins/qmldesigner/assetexporterplugin/assetexportdialog.cpp +++ b/src/plugins/qmldesigner/assetexporterplugin/assetexportdialog.cpp @@ -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; diff --git a/src/plugins/qmldesigner/assetexporterplugin/assetexporter.cpp b/src/plugins/qmldesigner/assetexporterplugin/assetexporter.cpp index 609da3f80e2..27c83ff5d68 100644 --- a/src/plugins/qmldesigner/assetexporterplugin/assetexporter.cpp +++ b/src/plugins/qmldesigner/assetexporterplugin/assetexporter.cpp @@ -164,6 +164,7 @@ void AssetExporter::writeMetadata() const } } notifyProgress(1.0); + ExportNotification::addInfo(tr("Export finished.")); m_currentState.change(ParsingState::ExportingDone); }