From 18a89d8f76bc08777e24909399925b4a1843919b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Mal=C3=BD?= Date: Tue, 8 Oct 2019 15:47:57 +0200 Subject: Force white background in CoreView --- qtmips_gui/coreview.cpp | 2 ++ 1 file changed, 2 insertions(+) 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())); -- cgit v1.2.3