From 2e657ea1ff3472d8a4f3706731e5533ba94f2d0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 23 Jan 2018 13:57:20 +0100 Subject: Hide writeback policy in program cache Program cache is read only so having write cache makes no sense. In reality in code we still configure and use it but user doesn't have to know that. --- qtmips_gui/newdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qtmips_gui/newdialog.cpp') diff --git a/qtmips_gui/newdialog.cpp b/qtmips_gui/newdialog.cpp index 5b1c39e..b760626 100644 --- a/qtmips_gui/newdialog.cpp +++ b/qtmips_gui/newdialog.cpp @@ -12,6 +12,8 @@ NewDialog::NewDialog(QWidget *parent, QSettings *settings) : QDialog(parent) { ui->setupUi(this); ui_cache_p = new Ui::NewDialogCache(); ui_cache_p->setupUi(ui->tab_cache_program); + ui_cache_p->writeback_policy->hide(); + ui_cache_p->label_writeback->hide(); ui_cache_d = new Ui::NewDialogCache(); ui_cache_d->setupUi(ui->tab_cache_data); -- cgit v1.2.3