aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-04-15 14:03:07 +0200
committerKarel Kočí <cynerd@email.cz>2018-04-15 14:03:07 +0200
commit116fe3c67b31558f04a40c321eff85208612b4e3 (patch)
treed4876019a982b4e7fbb62750e59734f95775a196 /qtmips_gui
parent8211b172579aac12a07afbddd5bed12e3b1cd83b (diff)
downloadqtmips-116fe3c67b31558f04a40c321eff85208612b4e3.tar.gz
qtmips-116fe3c67b31558f04a40c321eff85208612b4e3.tar.bz2
qtmips-116fe3c67b31558f04a40c321eff85208612b4e3.zip
Disable memory protection configuration fields for now
Memory protection is not feature that is strictly required. Because of that it's implementation has lower priority.
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/newdialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtmips_gui/newdialog.cpp b/qtmips_gui/newdialog.cpp
index 565d353..63ee656 100644
--- a/qtmips_gui/newdialog.cpp
+++ b/qtmips_gui/newdialog.cpp
@@ -36,6 +36,10 @@ NewDialog::NewDialog(QWidget *parent, QSettings *settings) : QDialog(parent) {
cache_handler_d = new NewDialogCacheHandler(this, ui_cache_d);
cache_handler_p = new NewDialogCacheHandler(this, ui_cache_p);
+ // TODO remove this block when protections are implemented
+ ui->mem_protec_exec->setVisible(false);
+ ui->mem_protec_write->setVisible(false);
+
load_settings(); // Also configures gui
}