aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/cacheview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/cacheview.cpp')
-rw-r--r--qtmips_gui/cacheview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_gui/cacheview.cpp b/qtmips_gui/cacheview.cpp
index d279083..9373cff 100644
--- a/qtmips_gui/cacheview.cpp
+++ b/qtmips_gui/cacheview.cpp
@@ -34,6 +34,7 @@
******************************************************************************/
#include "cacheview.h"
+#include "fontsize.h"
#include <cmath>
//////////////////////
@@ -145,7 +146,7 @@ CacheViewBlock::CacheViewBlock(const machine::Cache *cache, unsigned block , boo
curr_row = 0;
QFont font;
- font.setPointSize(7);
+ font.setPointSize(FontSize::SIZE7);
validity = new QGraphicsSimpleTextItem*[rows];
if (cache->config().write_policy() == machine::MachineConfigCache::WP_BACK)