moved notifyExtractionResult to ui.h (utils)

This commit is contained in:
Luca D'Amico
2024-08-20 19:21:20 +02:00
parent a2739a9ca8
commit c453236abd
4 changed files with 17 additions and 14 deletions

15
ui/utils/ui.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
#include <QMessageBox>
void notifyExtractionResult(bool result)
{
if (result)
{
QMessageBox::information(Q_NULLPTR, "NDS Factory", "Extraction completed!");
}
else
{
QMessageBox::critical(Q_NULLPTR, "NDS Factory", "Error during the extraction!");
}
}