aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/newdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/newdialog.cpp')
-rw-r--r--qtmips_gui/newdialog.cpp4
1 files changed, 2 insertions, 2 deletions
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);