Qt: Fixed a bug in shutdown procedure, various cleanups.
This commit is contained in:
parent
ad4445c529
commit
bc41de2131
7 changed files with 26 additions and 35 deletions
|
@ -241,7 +241,7 @@ int DisassemblerWidget::SelectedRow() {
|
|||
return disasm_ui.treeView->selectionModel()->currentIndex().row();
|
||||
}
|
||||
|
||||
void DisassemblerWidget::OnEmulationStarted(EmuThread* emu_thread) {
|
||||
void DisassemblerWidget::OnEmulationStarting(EmuThread* emu_thread) {
|
||||
this->emu_thread = emu_thread;
|
||||
|
||||
model = new DisassemblerModel(this);
|
||||
|
@ -256,7 +256,7 @@ void DisassemblerWidget::OnEmulationStarted(EmuThread* emu_thread) {
|
|||
setEnabled(true);
|
||||
}
|
||||
|
||||
void DisassemblerWidget::OnEmulationStopped() {
|
||||
void DisassemblerWidget::OnEmulationStopping() {
|
||||
disasm_ui.treeView->setModel(nullptr);
|
||||
delete model;
|
||||
emu_thread = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue