aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/memorydock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/memorydock.cpp')
-rw-r--r--qtmips_gui/memorydock.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/qtmips_gui/memorydock.cpp b/qtmips_gui/memorydock.cpp
index 0ccca3f..8998b32 100644
--- a/qtmips_gui/memorydock.cpp
+++ b/qtmips_gui/memorydock.cpp
@@ -1,14 +1,15 @@
#include "memorydock.h"
MemoryDock::MemoryDock(QWidget *parent) : QDockWidget(parent) {
- // TODO setup memory view
+ memory_view = new MemoryView(this);
+ setWidget(memory_view);
setObjectName("Memory");
setWindowTitle("Memory");
}
MemoryDock::~MemoryDock() {
-
+ delete memory_view;
}
void MemoryDock::setup(machine::QtMipsMachine *machine) {