From e0c757926743ee21f1a60b4b6948ca3eb895c373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 17 Dec 2017 13:31:25 +0100 Subject: Put qtmips_machine to machine namespace --- qtmips_gui/newdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qtmips_gui/newdialog.cpp') diff --git a/qtmips_gui/newdialog.cpp b/qtmips_gui/newdialog.cpp index 31f4bb8..bbaa73a 100644 --- a/qtmips_gui/newdialog.cpp +++ b/qtmips_gui/newdialog.cpp @@ -46,14 +46,14 @@ void NewDialog::cancel() { void NewDialog::create() { MainWindow *prnt = (MainWindow*)parent(); - MachineConfig *mc = new MachineConfig(); + machine::MachineConfig *mc = new machine::MachineConfig(); mc->set_elf(ui->elf_file->text()); mc->set_pipelined(ui->pipelined->isChecked()); // TODO other settings try { prnt->create_core(mc); - } catch (const QtMipsExceptionInput &e) { + } catch (const machine::QtMipsExceptionInput &e) { QMessageBox msg(this); msg.setText(e.msg(false)); msg.setIcon(QMessageBox::Critical); -- cgit v1.2.3