Version 0.9.3.1

- fixed work of Quit action
This commit is contained in:
Nikolaj Schlej 2013-11-20 03:08:39 +01:00
parent e6e4e69b4b
commit 8a3792d9b5
3 changed files with 8 additions and 2 deletions

View File

@ -277,6 +277,11 @@ void UEFITool::aboutQt()
QMessageBox::aboutQt(this, tr("About Qt")); QMessageBox::aboutQt(this, tr("About Qt"));
} }
void UEFITool::exit()
{
QCoreApplication::exit(0);
}
void UEFITool::saveImageFile() void UEFITool::saveImageFile()
{ {
QString path = QFileDialog::getSaveFileName(this, tr("Save BIOS image file"),".","BIOS image file (*.rom *.bin *.cap *.fd *.wph *.efi);;All files (*.*)"); QString path = QFileDialog::getSaveFileName(this, tr("Save BIOS image file"),".","BIOS image file (*.rom *.bin *.cap *.fd *.wph *.efi);;All files (*.*)");

View File

@ -68,6 +68,7 @@ private slots:
void about(); void about();
void aboutQt(); void aboutQt();
void scrollTreeView(QListWidgetItem* item); void scrollTreeView(QListWidgetItem* item);
void exit();
private: private:
Ui::UEFITool * ui; Ui::UEFITool * ui;

View File

@ -191,7 +191,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>800</width> <width>800</width>
<height>22</height> <height>29</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuFile"> <widget class="QMenu" name="menuFile">