aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorMichal Malý <madcatxster@devoid-pointer.net>2019-10-08 15:47:57 +0200
committerMichal Malý <madcatxster@devoid-pointer.net>2019-10-08 17:34:35 +0200
commit18a89d8f76bc08777e24909399925b4a1843919b (patch)
treebc412fa2667300694b46d6bb463844c4fd0f6fd3 /qtmips_gui
parent7ec180881848027fbad6c7dd84b883c26643103f (diff)
downloadqtmips-18a89d8f76bc08777e24909399925b4a1843919b.tar.gz
qtmips-18a89d8f76bc08777e24909399925b4a1843919b.tar.bz2
qtmips-18a89d8f76bc08777e24909399925b4a1843919b.zip
Force white background in CoreView
Diffstat (limited to 'qtmips_gui')
-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 b45f7ca..a130f0d 100644
--- a/qtmips_gui/coreview.cpp
+++ b/qtmips_gui/coreview.cpp
@@ -234,6 +234,8 @@ CoreViewScene::CoreViewScene(machine::QtMipsMachine *machine) : QGraphicsScene()
new_label("Stalls", 570, SC_HEIGHT - 14);
NEW_V(630, SC_HEIGHT - 9, stall_c_value, false, 10, 0, 10, ' ', false);
+ setBackgroundBrush(QBrush(Qt::white));
+
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()));