aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/programmodel.cpp
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-26 17:55:57 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-26 17:55:57 +0100
commit816b01b99eb770958589aadab25cd5e103917003 (patch)
tree8dc7f55e42a2c015ca0bbaf97a290fd7ca063b85 /qtmips_gui/programmodel.cpp
parent635567e0564db4d19741b2478a4129fccb76f64a (diff)
downloadqtmips-816b01b99eb770958589aadab25cd5e103917003.tar.gz
qtmips-816b01b99eb770958589aadab25cd5e103917003.tar.bz2
qtmips-816b01b99eb770958589aadab25cd5e103917003.zip
Change instruction views background to match stages color.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/programmodel.cpp')
-rw-r--r--qtmips_gui/programmodel.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/qtmips_gui/programmodel.cpp b/qtmips_gui/programmodel.cpp
index 6fda037..9023b69 100644
--- a/qtmips_gui/programmodel.cpp
+++ b/qtmips_gui/programmodel.cpp
@@ -135,9 +135,6 @@ QVariant ProgramModel::data(const QModelIndex &index, int role) const {
} else if (address == stage_addr[STAGEADDR_MEMORY]) {
QBrush bgd(QColor(173, 255, 229));
return bgd;
- } else if (address == stage_addr[STAGEADDR_MEMORY]) {
- QBrush bgd(QColor(173, 255, 229));
- return bgd;
} else if (address == stage_addr[STAGEADDR_EXECUTE]) {
QBrush bgd(QColor(193, 255, 173));
return bgd;