aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/coreview')
-rw-r--r--qtmips_gui/coreview/instructionview.cpp2
-rw-r--r--qtmips_gui/coreview/multitext.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/qtmips_gui/coreview/instructionview.cpp b/qtmips_gui/coreview/instructionview.cpp
index 9794ae5..f169869 100644
--- a/qtmips_gui/coreview/instructionview.cpp
+++ b/qtmips_gui/coreview/instructionview.cpp
@@ -34,7 +34,7 @@
******************************************************************************/
#include "instructionview.h"
-#include "../fontsize.h"
+#include "fontsize.h"
#include <QPainter>
#include <QFont>
diff --git a/qtmips_gui/coreview/multitext.cpp b/qtmips_gui/coreview/multitext.cpp
index 1658b55..f7ed58a 100644
--- a/qtmips_gui/coreview/multitext.cpp
+++ b/qtmips_gui/coreview/multitext.cpp
@@ -34,6 +34,7 @@
******************************************************************************/
#include "multitext.h"
+#include "fontsize.h"
#include <QPainter>
#include <QFont>
@@ -50,7 +51,7 @@ using namespace coreview;
MultiText::MultiText(QMap<std::uint32_t, QString> value_map, bool nonzero_red) :
QGraphicsObject(nullptr), text(this) {
QFont f;
- f.setPointSize(6);
+ f.setPointSize(FontSize::SIZE6);
text.setFont(f);
this->value_map = value_map;