aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/NewDialogCache.ui6
-rw-r--r--qtmips_gui/newdialog.cpp2
2 files changed, 5 insertions, 3 deletions
diff --git a/qtmips_gui/NewDialogCache.ui b/qtmips_gui/NewDialogCache.ui
index 04f15f7..c995bac 100644
--- a/qtmips_gui/NewDialogCache.ui
+++ b/qtmips_gui/NewDialogCache.ui
@@ -81,14 +81,14 @@
</widget>
</item>
<item row="6" column="0">
- <widget class="QLabel" name="label_7">
+ <widget class="QLabel" name="label_writeback">
<property name="text">
<string>Writeback policy:</string>
</property>
</widget>
</item>
<item row="5" column="1">
- <widget class="QComboBox" name="comboBox">
+ <widget class="QComboBox" name="replacement_policy">
<item>
<property name="text">
<string>Random</string>
@@ -112,7 +112,7 @@
</widget>
</item>
<item row="6" column="1">
- <widget class="QComboBox" name="comboBox_2">
+ <widget class="QComboBox" name="writeback_policy">
<item>
<property name="text">
<string>Write trough</string>
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);