aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/mainwindow.cpp
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-04-17 12:40:45 +0200
committerKarel Kočí <cynerd@email.cz>2018-04-17 12:40:45 +0200
commit6c360d8e42053d9045bbe2fc78c23143f8a334b7 (patch)
treecb4edf0d67f2323b806d912f00f4987f33f554aa /qtmips_gui/mainwindow.cpp
parent2367fbd88283ddfe1925d2706923e1458e2d2248 (diff)
downloadqtmips-6c360d8e42053d9045bbe2fc78c23143f8a334b7.tar.gz
qtmips-6c360d8e42053d9045bbe2fc78c23143f8a334b7.tar.bz2
qtmips-6c360d8e42053d9045bbe2fc78c23143f8a334b7.zip
Drop unneeded parameter from CoreViewScene constructor
Diffstat (limited to 'qtmips_gui/mainwindow.cpp')
-rw-r--r--qtmips_gui/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtmips_gui/mainwindow.cpp b/qtmips_gui/mainwindow.cpp
index 7a4a06c..d3434bc 100644
--- a/qtmips_gui/mainwindow.cpp
+++ b/qtmips_gui/mainwindow.cpp
@@ -90,9 +90,9 @@ void MainWindow::create_core(const machine::MachineConfig &config) {
if (corescene != nullptr)
delete corescene;
if (config.pipelined()) {
- corescene = new CoreViewScenePipelined(coreview, machine);
+ corescene = new CoreViewScenePipelined(machine);
} else {
- corescene = new CoreViewSceneSimple(coreview, machine);
+ corescene = new CoreViewSceneSimple(machine);
}
coreview->setScene(corescene);