forked from qt-creator/qt-creator
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:
@@ -145,7 +145,6 @@ void AssetExportDialog::onExportStateChanged(AssetExporter::ParsingState newStat
|
|||||||
case AssetExporter::ParsingState::ExportingDone:
|
case AssetExporter::ParsingState::ExportingDone:
|
||||||
m_exportBtn->setVisible(false);
|
m_exportBtn->setVisible(false);
|
||||||
m_ui->buttonBox->button(QDialogButtonBox::Close)->setVisible(true);
|
m_ui->buttonBox->button(QDialogButtonBox::Close)->setVisible(true);
|
||||||
QMessageBox::information(this, tr("QML Export"), tr("Done"));
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
@@ -164,6 +164,7 @@ void AssetExporter::writeMetadata() const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifyProgress(1.0);
|
notifyProgress(1.0);
|
||||||
|
ExportNotification::addInfo(tr("Export finished."));
|
||||||
m_currentState.change(ParsingState::ExportingDone);
|
m_currentState.change(ParsingState::ExportingDone);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user