diff --git a/uefitool.cpp b/uefitool.cpp
index 042f195..2a15959 100644
--- a/uefitool.cpp
+++ b/uefitool.cpp
@@ -277,6 +277,11 @@ void UEFITool::aboutQt()
QMessageBox::aboutQt(this, tr("About Qt"));
}
+void UEFITool::exit()
+{
+ QCoreApplication::exit(0);
+}
+
void UEFITool::saveImageFile()
{
QString path = QFileDialog::getSaveFileName(this, tr("Save BIOS image file"),".","BIOS image file (*.rom *.bin *.cap *.fd *.wph *.efi);;All files (*.*)");
@@ -453,4 +458,4 @@ void UEFITool::scrollTreeView(QListWidgetItem* item)
ui->structureTreeView->selectionModel()->clearSelection();
ui->structureTreeView->selectionModel()->select(index, QItemSelectionModel::Select);
}
-}
\ No newline at end of file
+}
diff --git a/uefitool.h b/uefitool.h
index 219b531..0a9b458 100644
--- a/uefitool.h
+++ b/uefitool.h
@@ -68,6 +68,7 @@ private slots:
void about();
void aboutQt();
void scrollTreeView(QListWidgetItem* item);
+ void exit();
private:
Ui::UEFITool * ui;
diff --git a/uefitool.ui b/uefitool.ui
index 1d0206d..2da11ad 100644
--- a/uefitool.ui
+++ b/uefitool.ui
@@ -191,7 +191,7 @@
0
0
800
- 22
+ 29