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"));
}
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);
}
}
}

View File

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

View File

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