aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview.cpp
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-25 17:37:34 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-25 17:37:34 +0100
commit063da67766585bd1db5e8afd83e2f9eda88119c0 (patch)
tree928c2101adc3f7c317d9f86c13e2a2d1337806fb /qtmips_gui/coreview.cpp
parent215934254c3a80d8b30858f8c273a329c817a7f9 (diff)
downloadqtmips-063da67766585bd1db5e8afd83e2f9eda88119c0.tar.gz
qtmips-063da67766585bd1db5e8afd83e2f9eda88119c0.tar.bz2
qtmips-063da67766585bd1db5e8afd83e2f9eda88119c0.zip
Jump to pc address when program counter is double clicked
Diffstat (limited to 'qtmips_gui/coreview.cpp')
-rw-r--r--qtmips_gui/coreview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_gui/coreview.cpp b/qtmips_gui/coreview.cpp
index eb39a47..d811208 100644
--- a/qtmips_gui/coreview.cpp
+++ b/qtmips_gui/coreview.cpp
@@ -140,6 +140,8 @@ CoreViewScene::CoreViewScene(CoreView *view, machine::QtMipsMachine *machine) :
connect(regs, SIGNAL(open_registers()), this, SIGNAL(request_registers()));
connect(mem_program, SIGNAL(open_mem()), this, SIGNAL(request_program_memory()));
connect(mem_data, SIGNAL(open_mem()), this, SIGNAL(request_data_memory()));
+ connect(ft.pc, SIGNAL(open_program()), this, SIGNAL(request_program_memory()));
+ connect(ft.pc, SIGNAL(jump_to_pc(std::uint32_t)), this, SIGNAL(request_jump_to_program_counter(std::uint32_t)));
}
CoreViewScene::~CoreViewScene() {