From 8a3792d9b54bcbac16491111be1719887434fd1a Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Wed, 20 Nov 2013 03:08:39 +0100 Subject: [PATCH] Version 0.9.3.1 - fixed work of Quit action --- uefitool.cpp | 7 ++++++- uefitool.h | 1 + uefitool.ui | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) 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