aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/srceditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/srceditor.cpp')
-rw-r--r--qtmips_gui/srceditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtmips_gui/srceditor.cpp b/qtmips_gui/srceditor.cpp
index 55f372a..e7502ac 100644
--- a/qtmips_gui/srceditor.cpp
+++ b/qtmips_gui/srceditor.cpp
@@ -40,7 +40,7 @@
#include <QTextBlock>
#include "srceditor.h"
-#include "highlighter.h"
+#include "highlighterasm.h"
void SrcEditor::setup_common() {
QFont font;
@@ -49,7 +49,7 @@ void SrcEditor::setup_common() {
font.setPointSize(10);
setFont(font);
tname = "Unknown";
- highlighter = new Highlighter(document());
+ highlighter = new HighlighterAsm(document());
}
SrcEditor::SrcEditor(QWidget *parent) : Super(parent) {