aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/programcounter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/coreview/programcounter.cpp')
-rw-r--r--qtmips_gui/coreview/programcounter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtmips_gui/coreview/programcounter.cpp b/qtmips_gui/coreview/programcounter.cpp
index c43ff6d..ab7d49b 100644
--- a/qtmips_gui/coreview/programcounter.cpp
+++ b/qtmips_gui/coreview/programcounter.cpp
@@ -22,8 +22,8 @@ ProgramCounter::ProgramCounter(machine::QtMipsMachine *machine) : QGraphicsObjec
connect(machine->registers(), SIGNAL(pc_update(std::uint32_t)), this, SLOT(pc_update(std::uint32_t)));
- con_in = new Connector(-M_PI_2);
- con_out = new Connector(M_PI_2);
+ con_in = new Connector(Connector::AX_Y);
+ con_out = new Connector(Connector::AX_Y);
setPos(x(), y()); // To set initial connectors positions
}